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

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

public class UimaEEAdminSpringContext
extends java.lang.Object
implements UimaEEAdminContext, org.springframework.context.ApplicationListener


Nested Class Summary
protected static class UimaEEAdminSpringContext.ListenerEntry
           
 
Constructor Summary
UimaEEAdminSpringContext(org.springframework.context.support.FileSystemXmlApplicationContext aSpringContainer)
           
 
Method Summary
 int getConcurrentConsumerCount(java.lang.String anEndpointName)
           
 org.springframework.context.ApplicationContext getSpringContainer()
           
 boolean isShutdown()
           
 void onApplicationEvent(org.springframework.context.ApplicationEvent anEvent)
           
 void setBroker(org.apache.activemq.broker.BrokerService aBrokerService)
           
 void shutdown()
          Stops the Spring Container
 void stopListener(java.lang.String anEndpointName)
          Stops a listener thread on a given endpoint
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UimaEEAdminSpringContext

public UimaEEAdminSpringContext(org.springframework.context.support.FileSystemXmlApplicationContext aSpringContainer)
Method Detail

setBroker

public void setBroker(org.apache.activemq.broker.BrokerService aBrokerService)

getSpringContainer

public org.springframework.context.ApplicationContext getSpringContainer()

getConcurrentConsumerCount

public int getConcurrentConsumerCount(java.lang.String anEndpointName)
Specified by:
getConcurrentConsumerCount in interface UimaEEAdminContext

stopListener

public void stopListener(java.lang.String anEndpointName)
Stops a listener thread on a given endpoint

Specified by:
stopListener in interface UimaEEAdminContext

onApplicationEvent

public void onApplicationEvent(org.springframework.context.ApplicationEvent anEvent)
Specified by:
onApplicationEvent in interface org.springframework.context.ApplicationListener

shutdown

public void shutdown()
Stops the Spring Container

Specified by:
shutdown in interface UimaEEAdminContext

isShutdown

public boolean isShutdown()


Copyright © 2012. All Rights Reserved.