org.apache.uima.adapter.jms.activemq
Class UimaEEAdminSpringContext
java.lang.Object
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
Constructor Summary |
UimaEEAdminSpringContext(org.springframework.context.support.FileSystemXmlApplicationContext aSpringContainer)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UimaEEAdminSpringContext
public UimaEEAdminSpringContext(org.springframework.context.support.FileSystemXmlApplicationContext aSpringContainer)
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 © 2011. All Rights Reserved.