Class BrokerDeployer
java.lang.Object
org.apache.uima.adapter.jms.activemq.BrokerDeployer
- All Implemented Interfaces:
EventListener
,org.springframework.context.ApplicationListener
public class BrokerDeployer
extends Object
implements org.springframework.context.ApplicationListener
Deprecated.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.activemq.broker.BrokerService
Deprecated.void
onApplicationEvent
(org.springframework.context.ApplicationEvent anEvent) Deprecated.Callback method invoked by Spring container during its lifecycle changes Ignore all events except for ContextClosedEvent which indicates the container has shutdown.void
Deprecated.void
stop()
Deprecated.Stops the ActiveMQ broker.
-
Constructor Details
-
Method Details
-
getBroker
public org.apache.activemq.broker.BrokerService getBroker()Deprecated. -
startInternalBroker
Deprecated.- Throws:
Exception
-
stop
public void stop()Deprecated.Stops the ActiveMQ broker. This method waits for 1 second to allow the broker to cleanup objects from JMX Server. -
onApplicationEvent
public void onApplicationEvent(org.springframework.context.ApplicationEvent anEvent) Deprecated.Callback method invoked by Spring container during its lifecycle changes Ignore all events except for ContextClosedEvent which indicates the container has shutdown. In this case, stop the internal ActiveMQ broker.- Specified by:
onApplicationEvent
in interfaceorg.springframework.context.ApplicationListener
- Parameters:
anEvent
- - an event object
-