public class UimaEEAdminSpringContext extends Object implements org.apache.uima.aae.UimaEEAdminContext, org.springframework.context.ApplicationListener
| Modifier and Type | Class and Description |
|---|---|
protected static class |
UimaEEAdminSpringContext.ListenerEntry |
| Constructor and Description |
|---|
UimaEEAdminSpringContext(org.springframework.context.support.FileSystemXmlApplicationContext aSpringContainer,
org.apache.uima.aae.controller.ControllerCallbackListener listener) |
| Modifier and Type | Method and Description |
|---|---|
int |
getConcurrentConsumerCount(String anEndpointName) |
org.springframework.context.ApplicationContext |
getSpringContainer() |
boolean |
isShutdown() |
void |
onApplicationEvent(org.springframework.context.ApplicationEvent anEvent) |
void |
onTerminate(String reason,
org.apache.uima.aae.UimaASApplicationEvent.EventTrigger cause) |
void |
setBroker(org.apache.activemq.broker.BrokerService aBrokerService) |
void |
shutdown()
Stops the Spring Container
|
void |
stopListener(String anEndpointName)
Stops a listener thread on a given endpoint
|
public UimaEEAdminSpringContext(org.springframework.context.support.FileSystemXmlApplicationContext aSpringContainer,
org.apache.uima.aae.controller.ControllerCallbackListener listener)
public void onTerminate(String reason, org.apache.uima.aae.UimaASApplicationEvent.EventTrigger cause)
onTerminate in interface org.apache.uima.aae.UimaEEAdminContextpublic void setBroker(org.apache.activemq.broker.BrokerService aBrokerService)
public org.springframework.context.ApplicationContext getSpringContainer()
public int getConcurrentConsumerCount(String anEndpointName)
getConcurrentConsumerCount in interface org.apache.uima.aae.UimaEEAdminContextpublic void stopListener(String anEndpointName)
stopListener in interface org.apache.uima.aae.UimaEEAdminContextpublic void onApplicationEvent(org.springframework.context.ApplicationEvent anEvent)
onApplicationEvent in interface org.springframework.context.ApplicationListenerpublic void shutdown()
shutdown in interface org.apache.uima.aae.UimaEEAdminContextpublic boolean isShutdown()
Copyright © 2006–2018 The Apache Software Foundation. All rights reserved.