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:
ActiveIOTransportChannel, ActiveIOTransportServerChannel, ActiveMQConnectionFactory, ActiveMQXAConnectionFactory, BrokerClientImpl, BrokerConnectorImpl, BrokerContainerImpl, CacheMessageStore, CachePersistenceAdapter, CacheTopicMessageStore, CompositeTransportChannel, DefaultBroker, DiscoveryAgentSupport, DiscoveryNetworkConnector, DiscoveryTransportChannel, DispatcherImpl, DispatchWorker, DurableQueueBoundedMessageContainer, DurableQueueBoundedMessageManager, DurableQueueMessageContainer, DurableQueueMessageContainerManager, DurableTopicMessageContainer, DurableTopicMessageContainerManager, InitialImageMessageContainerManager, JabberTransportChannel, JabberTransportServerChannel, JDBCMessageStore, JDBCPersistenceAdapter, JDBCTopicMessageStore, JournalMessageStore, JournalPersistenceAdapter, JournalTopicMessageStore, JournalTransactionStore, MemoryBoundedCachePersistenceAdapter, MessageContainerManagerSupport, MulticastDiscoveryAgent, MulticastTransportChannel, MulticastTransportServerChannel, NetworkChannel, NetworkConnector, PeerTransportChannel, PooledConnectionFactory, ProxyMessageContainerManager, ProxyMessageStore, ProxyTopicMessageStore, ReliableTransportChannel, RemoteNetworkChannel, RemoteNetworkConnector, RemoteTransportChannel, SimpleCachePersistenceAdapter, StompTransportChannel, StompTransportServerChannel, TcpTransportChannel, TcpTransportServerChannel, TransactionManager, TransactionManagerImpl, TransientQueueBoundedMessageContainer, TransientQueueBoundedMessageManager, TransientTopicBoundedMessageContainer, TransientTopicBoundedMessageManager, TransientTopicMessageContainerManager, TransportChannelSupport, TransportServerChannelSupport, UdpTransportChannel, UdpTransportServerChannel, VMMessageStore, VMPersistenceAdapter, VMTopicMessageStore, VMTransactionManager, VMTransactionStore, VmTransportChannel, VmTransportServerChannel

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

void start()
           throws JMSException
Called to start the service

Throws:
JMSException

stop

void stop()
          throws JMSException
Called to shutdown the service

Throws:
JMSException


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