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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
UimaEEAdminSpringContext.ListenerEntry
-
Constructor Summary
Constructors Constructor Description UimaEEAdminSpringContext(org.springframework.context.support.FileSystemXmlApplicationContext aSpringContainer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 Containervoid
stopListener(java.lang.String anEndpointName)
Stops a listener thread on a given endpoint
-
-
-
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 interfaceUimaEEAdminContext
-
stopListener
public void stopListener(java.lang.String anEndpointName)
Stops a listener thread on a given endpoint- Specified by:
stopListener
in interfaceUimaEEAdminContext
-
onApplicationEvent
public void onApplicationEvent(org.springframework.context.ApplicationEvent anEvent)
- Specified by:
onApplicationEvent
in interfaceorg.springframework.context.ApplicationListener
-
shutdown
public void shutdown()
Stops the Spring Container- Specified by:
shutdown
in interfaceUimaEEAdminContext
-
isShutdown
public boolean isShutdown()
-
-