Class 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

      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 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()
      • 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
      • isShutdown

        public boolean isShutdown()