No you should not call activate/deactivate yourself, these are intended to be 
called by the framework.

Instead, represent the remote process as a service, then bind the service into 
your DS component using a mandatory reference.


On 6 August 2014 at 00:10:15, Dean Schulze (dean.w.schu...@gmail.com) wrote:

I have a Service Component that communicates with a remote process via a 
socket. The activate methods waits for the remote process to come up and 
then establishes communication. If that remote process goes down I need to 
go through the same process that the activate method uses to establish 
communication. 

I haven't been able to find any information on restarting a Service 
Component. Can I programatically restart a Service Component, or would it 
be better to call deactivate() and activate() on the same Service Component? 

Thanks. 

Reply via email to