org.apache.uima.adapter.jms.activemq
Class BrokerDeployer

java.lang.Object
  extended by org.apache.uima.adapter.jms.activemq.BrokerDeployer
All Implemented Interfaces:
java.util.EventListener, org.springframework.context.ApplicationListener

Deprecated.

public class BrokerDeployer
extends java.lang.Object
implements org.springframework.context.ApplicationListener


Constructor Summary
BrokerDeployer()
          Deprecated.  
BrokerDeployer(long maxMemoryinBytes)
          Deprecated.  
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BrokerDeployer

public BrokerDeployer(long maxMemoryinBytes)
               throws java.lang.Exception
Deprecated. 
Throws:
java.lang.Exception

BrokerDeployer

public BrokerDeployer()
               throws java.lang.Exception
Deprecated. 
Throws:
java.lang.Exception
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 interface org.springframework.context.ApplicationListener
Parameters:
anEvent - - an event object


Copyright © 2011. All Rights Reserved.