public class SpringContainerDeployer extends Object implements org.apache.uima.aae.controller.ControllerCallbackListener
Modifier and Type | Field and Description |
---|---|
static int |
QUIESCE_AND_STOP |
static int |
STOP_NOW |
Constructor and Description |
---|
SpringContainerDeployer(org.springframework.context.ApplicationListener listener) |
SpringContainerDeployer(ConcurrentHashMap aSpringContainerRegistry) |
SpringContainerDeployer(ConcurrentHashMap aSpringContainerRegistry,
org.springframework.context.ApplicationListener listener) |
public static final int QUIESCE_AND_STOP
public static final int STOP_NOW
public SpringContainerDeployer(org.springframework.context.ApplicationListener listener)
public SpringContainerDeployer(ConcurrentHashMap aSpringContainerRegistry)
public SpringContainerDeployer(ConcurrentHashMap aSpringContainerRegistry, org.springframework.context.ApplicationListener listener)
public org.apache.uima.aae.controller.AnalysisEngineController getTopLevelController()
public String deploy(String springContextFile) throws ResourceInitializationException
ResourceInitializationException
public String deploy(String[] springContextFiles) throws ResourceInitializationException
ResourceInitializationException
protected void waitForServiceNotification() throws Exception
Exception
public void notifyOnInitializationFailure(org.apache.uima.aae.controller.AnalysisEngineController aController, Exception e)
notifyOnInitializationFailure
in interface org.apache.uima.aae.controller.ControllerCallbackListener
public void notifyOnInitializationSuccess(org.apache.uima.aae.controller.AnalysisEngineController aController)
notifyOnInitializationSuccess
in interface org.apache.uima.aae.controller.ControllerCallbackListener
public void notifyOnInitializationFailure(Exception e)
notifyOnInitializationFailure
in interface org.apache.uima.aae.controller.ControllerCallbackListener
public void notifyOnInitializationSuccess()
notifyOnInitializationSuccess
in interface org.apache.uima.aae.controller.ControllerCallbackListener
public void notifyOnTermination(String message, org.apache.uima.aae.UimaASApplicationEvent.EventTrigger cause)
notifyOnTermination
in interface org.apache.uima.aae.controller.ControllerCallbackListener
public org.springframework.context.support.FileSystemXmlApplicationContext getSpringContext()
public boolean isInitialized()
public boolean initializationFailed()
public void notifyOnTermination(String aServiceName, String aCasReferenceId, Exception cause)
public void notifyOnReconnecting(String aMessage)
notifyOnReconnecting
in interface org.apache.uima.aae.controller.ControllerCallbackListener
public void notifyOnReconnectionSuccess()
notifyOnReconnectionSuccess
in interface org.apache.uima.aae.controller.ControllerCallbackListener
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.