|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.stratum.messenger.MessengerComponent
This class is the Messenger component. It is an adaptor that allows the ComponentLoader to startup MessengerManager. Client code wishing to use Messenger should ask MessengerManager directly for Messenger instances.
MessengerManager,
Messenger| Constructor Summary | |
MessengerComponent()
|
|
| Method Summary | |
void |
configure(org.apache.commons.configuration.Configuration configuration)
Configure MessengerManager. |
void |
initialize()
Initialize the MessengerManager. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MessengerComponent()
| Method Detail |
public void configure(org.apache.commons.configuration.Configuration configuration)
configure in interface Configurableconfiguration - Configuration object containing the 'messenger.xml.url' property
public void initialize()
throws java.lang.Exception
initialize in interface Initializablejava.lang.Exception - is thrown if the file defined in 'messenger.xml.url' can't be found. JMSException will be thrown if
MessengerManager.configure is unhappy with the value from 'messenger.xml.url'
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||