Class BrokerDeployer
- java.lang.Object
-
- org.apache.uima.adapter.jms.activemq.BrokerDeployer
-
- All Implemented Interfaces:
java.util.EventListener
,org.springframework.context.ApplicationListener
public class BrokerDeployer extends java.lang.Object implements org.springframework.context.ApplicationListener
Deprecated.
-
-
Constructor Summary
Constructors Constructor Description BrokerDeployer()
Deprecated.BrokerDeployer(long maxMemoryinBytes)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.apache.activemq.broker.BrokerService
getBroker()
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
startInternalBroker()
Deprecated.void
stop()
Deprecated.Stops the ActiveMQ broker.
-
-
-
Method Detail
-
getBroker
public org.apache.activemq.broker.BrokerService getBroker()
Deprecated.
-
startInternalBroker
public void startInternalBroker() throws java.lang.Exception
Deprecated.- Throws:
java.lang.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
-
-