You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by cw...@apache.org on 2009/06/26 22:03:27 UTC

svn commit: r788843 - /incubator/uima/sandbox/trunk/uima-as/uimaj-as-core/src/main/java/org/apache/uima/aae/client/UimaAsynchronousEngine.java

Author: cwiklik
Date: Fri Jun 26 20:03:26 2009
New Revision: 788843

URL: http://svn.apache.org/viewvc?rev=788843&view=rev
Log:
UIMA-1109 Extended Uima AS client API to support two flavors of service shutdown: quiesce and stop or hard stop

Modified:
    incubator/uima/sandbox/trunk/uima-as/uimaj-as-core/src/main/java/org/apache/uima/aae/client/UimaAsynchronousEngine.java

Modified: incubator/uima/sandbox/trunk/uima-as/uimaj-as-core/src/main/java/org/apache/uima/aae/client/UimaAsynchronousEngine.java
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/uima-as/uimaj-as-core/src/main/java/org/apache/uima/aae/client/UimaAsynchronousEngine.java?rev=788843&r1=788842&r2=788843&view=diff
==============================================================================
--- incubator/uima/sandbox/trunk/uima-as/uimaj-as-core/src/main/java/org/apache/uima/aae/client/UimaAsynchronousEngine.java (original)
+++ incubator/uima/sandbox/trunk/uima-as/uimaj-as-core/src/main/java/org/apache/uima/aae/client/UimaAsynchronousEngine.java Fri Jun 26 20:03:26 2009
@@ -256,6 +256,18 @@
 	   */
 	  public void undeploy( String aSpringContainerId ) throws Exception;
 
+    /**
+     * Undeploys specified UIMA AS container and all services running within it. Each UIMA AS container
+     * has a unique id assigned to it during the deploy phase. This method is synchronous and
+     * will block until the container (and all services contained within it) is destroyed.
+     * 
+     * @param aSpringContainerId - an id of the container to be destroyed.
+     * 
+     * @throws Exception
+     */
+	  public void undeploy(String aSpringContainerId, int stop_level) throws Exception;
+	  
+	  
 	  /**
 	   * Returns serialization strategy for the remote service. All CASes will
 	   * be serialized according to the specified serialization. Either xmi or binary