br.com.ibnetwork.guara.message.impl
Class XMLSystemMessageBroker

java.lang.Object
  extended by br.com.ibnetwork.guara.message.impl.XMLSystemMessageBroker
All Implemented Interfaces:
SystemMessageBroker, org.apache.avalon.framework.activity.Initializable, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.service.Serviceable

public class XMLSystemMessageBroker
extends java.lang.Object
implements SystemMessageBroker, org.apache.avalon.framework.service.Serviceable, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.activity.Initializable


Field Summary
 
Fields inherited from interface br.com.ibnetwork.guara.message.SystemMessageBroker
ROLE
 
Constructor Summary
XMLSystemMessageBroker()
           
 
Method Summary
 void configure(org.apache.avalon.framework.configuration.Configuration conf)
           
 java.util.Locale getDefaultLocale()
           
 SystemMessage getSystemMessage(java.lang.String msgId)
           
 SystemMessage getSystemMessage(java.lang.String msgId, java.util.Locale locale)
           
 void initialize()
           
 boolean isLenient()
           
 void service(org.apache.avalon.framework.service.ServiceManager manager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLSystemMessageBroker

public XMLSystemMessageBroker()
Method Detail

service

public void service(org.apache.avalon.framework.service.ServiceManager manager)
             throws org.apache.avalon.framework.service.ServiceException
Specified by:
service in interface org.apache.avalon.framework.service.Serviceable
Throws:
org.apache.avalon.framework.service.ServiceException

configure

public void configure(org.apache.avalon.framework.configuration.Configuration conf)
               throws org.apache.avalon.framework.configuration.ConfigurationException
Specified by:
configure in interface org.apache.avalon.framework.configuration.Configurable
Throws:
org.apache.avalon.framework.configuration.ConfigurationException

initialize

public void initialize()
                throws java.lang.Exception
Specified by:
initialize in interface org.apache.avalon.framework.activity.Initializable
Throws:
java.lang.Exception

getDefaultLocale

public java.util.Locale getDefaultLocale()
Specified by:
getDefaultLocale in interface SystemMessageBroker

isLenient

public boolean isLenient()
Specified by:
isLenient in interface SystemMessageBroker

getSystemMessage

public SystemMessage getSystemMessage(java.lang.String msgId)
                               throws SystemMessageException
Specified by:
getSystemMessage in interface SystemMessageBroker
Throws:
SystemMessageException

getSystemMessage

public SystemMessage getSystemMessage(java.lang.String msgId,
                                      java.util.Locale locale)
                               throws SystemMessageException
Specified by:
getSystemMessage in interface SystemMessageBroker
Throws:
SystemMessageException


Copyright © 1999-2006 InterBusiness Technologies. All Rights Reserved.