|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.jms.service.Service
org.exolab.jms.messagemgr.DestinationConfigurator
public class DestinationConfigurator
Pre-configures DestinationManager
with destinations and and
ConsumerManager
with subscribers from an Configuration
.
Constructor Summary | |
---|---|
DestinationConfigurator(org.exolab.jms.config.Configuration config,
DestinationManager destinations,
ConsumerManager consumers)
Create a new DestinationConfigurator . |
Method Summary | |
---|---|
protected void |
configureQueues(org.exolab.jms.config.AdministeredQueue[] queues)
Configure queues. |
protected void |
configureTopics(org.exolab.jms.config.AdministeredTopic[] topics)
Configure topics. |
protected void |
doStart()
Start the service. |
Methods inherited from class org.exolab.jms.service.Service |
---|
doStop, getName, isStarted, restart, start, stop, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DestinationConfigurator(org.exolab.jms.config.Configuration config, DestinationManager destinations, ConsumerManager consumers)
DestinationConfigurator
.
config
- the configuration to usedestinations
- the destination managerconsumers
- the consumer manaagerMethod Detail |
---|
protected void doStart() throws ServiceException
doStart
in class Service
ServiceException
- if the service fails to startprotected void configureTopics(org.exolab.jms.config.AdministeredTopic[] topics)
topics
- the topics to configureprotected void configureQueues(org.exolab.jms.config.AdministeredQueue[] queues)
queues
- the queues to configure
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |