uima-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cwik...@apache.org
Subject svn commit: r1078157 - /uima/uima-as/trunk/uimaj-as-core/src/main/java/org/apache/uima/aae/handler/input/MetadataResponseHandler_impl.java
Date Fri, 04 Mar 2011 21:50:19 GMT
Author: cwiklik
Date: Fri Mar  4 21:50:19 2011
New Revision: 1078157

URL: http://svn.apache.org/viewvc?rev=1078157&view=rev
Log:
UIMA-2084 Changes state of colocated delegate to RUNNING when metadata is received

Modified:
    uima/uima-as/trunk/uimaj-as-core/src/main/java/org/apache/uima/aae/handler/input/MetadataResponseHandler_impl.java

Modified: uima/uima-as/trunk/uimaj-as-core/src/main/java/org/apache/uima/aae/handler/input/MetadataResponseHandler_impl.java
URL: http://svn.apache.org/viewvc/uima/uima-as/trunk/uimaj-as-core/src/main/java/org/apache/uima/aae/handler/input/MetadataResponseHandler_impl.java?rev=1078157&r1=1078156&r2=1078157&view=diff
==============================================================================
--- uima/uima-as/trunk/uimaj-as-core/src/main/java/org/apache/uima/aae/handler/input/MetadataResponseHandler_impl.java
(original)
+++ uima/uima-as/trunk/uimaj-as-core/src/main/java/org/apache/uima/aae/handler/input/MetadataResponseHandler_impl.java
Fri Mar  4 21:50:19 2011
@@ -22,7 +22,9 @@ package org.apache.uima.aae.handler.inpu
 import org.apache.uima.UIMAFramework;
 import org.apache.uima.aae.UIMAEE_Constants;
 import org.apache.uima.aae.controller.AggregateAnalysisEngineController;
+import org.apache.uima.aae.controller.AnalysisEngineController;
 import org.apache.uima.aae.controller.Endpoint;
+import org.apache.uima.aae.controller.BaseAnalysisEngineController.ServiceState;
 import org.apache.uima.aae.delegate.Delegate;
 import org.apache.uima.aae.error.AsynchAEException;
 import org.apache.uima.aae.handler.HandlerBase;
@@ -129,6 +131,7 @@ public class MetadataResponseHandler_imp
               fromServer = ((MessageContext) anObjectToHandle)
                       .getMessageStringProperty(AsynchAEMessage.EndpointServer);
             }
+            ((AggregateAnalysisEngineController)getController()).changeCollocatedDelegateState(delegateKey,
ServiceState.RUNNING);
             // If old service does not echo back the external broker name then the queue
name must
             // be unique.
             // The ServerURI set by the service may be its local name for the broker, e.g.



Mime
View raw message