org.activemq.service
Interface Service

All Known Subinterfaces:
Broker, BrokerClient, BrokerConnector, BrokerContainer, DiscoveryAgent, Dispatcher, MessageContainer, MessageContainerManager, MessageStore, PersistenceAdapter, QueueMessageContainer, QueueMessageContainerManager, TopicMessageContainer, TopicMessageStore, TransactionStore, TransportChannel, TransportServerChannel
All Known Implementing Classes:
ActiveMQConnectionFactory, BrokerClientImpl, BrokerConnectorImpl, BrokerContainerImpl, CacheMessageStore, CachePersistenceAdapter, CacheTopicMessageStore, DefaultBroker, DiscoveryAgentSupport, DispatcherImpl, DispatchWorker, DurableQueueBoundedMessageContainer, DurableQueueBoundedMessageManager, DurableQueueMessageContainer, DurableQueueMessageContainerManager, DurableTopicMessageContainer, JDBCMessageStore, JDBCPersistenceAdapter, JDBCTopicMessageStore, JournalMessageStore, JournalPersistenceAdapter, JournalTopicMessageStore, JournalTransactionStore, MessageContainerManagerSupport, NetworkChannel, NetworkConnector, PooledConnectionFactory, ProxyMessageContainerManager, ProxyMessageStore, ProxyTopicMessageStore, TransactionManager, TransientQueueBoundedMessageContainer, TransientQueueBoundedMessageManager, TransientTopicBoundedMessageContainer, TransientTopicBoundedMessageManager, TransportChannelSupport, TransportServerChannelSupport, VMMessageStore, VMPersistenceAdapter, VMTopicMessageStore, VMTransactionStore

public interface Service

Service represents some service of some kind with a simple start/stop lifecycle.

Note that usually once a service has been stopped it should be discarded and a new service instance created again.

Version:
$Revision: 1.1.1.1 $

Method Summary
 void start()
          Called to start the service
 void stop()
          Called to shutdown the service
 

Method Detail

start

public void start()
           throws JMSException
Called to start the service

Throws:
JMSException

stop

public void stop()
          throws JMSException
Called to shutdown the service

Throws:
JMSException


Copyright © 2004-2007 Protique, Ltd.. All Rights Reserved.