org.apache.uima.adapter.jms.activemq
Class UimaEEAdminSpringContext
java.lang.Object
org.apache.uima.adapter.jms.activemq.UimaEEAdminSpringContext
- All Implemented Interfaces:
- EventListener, org.apache.uima.aae.UimaEEAdminContext, org.springframework.context.ApplicationListener
public class UimaEEAdminSpringContext
- extends Object
- implements org.apache.uima.aae.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(String anEndpointName)
- Specified by:
getConcurrentConsumerCount
in interface org.apache.uima.aae.UimaEEAdminContext
stopListener
public void stopListener(String anEndpointName)
- Stops a listener thread on a given endpoint
- Specified by:
stopListener
in interface org.apache.uima.aae.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 org.apache.uima.aae.UimaEEAdminContext
isShutdown
public boolean isShutdown()
Copyright © 2006-2012 The Apache Software Foundation. All Rights Reserved.