About this task
Context can refer to service. With this function, context
can manage one or more BTT services in context lifecycle. Following is the
definition sample:
<context id="branchServer" type="branch" parent="nil">
<refKColl refId="branchData" />
<refService refId="realCSServer" alias="CSServer" type="service" />
</context
The context interface has the following APIs to support this
function:
public void addService(Service aService, String aServiceName, String aServiceType) throws DSEInvalidRequestException;
public Hashtable getServices();
public Service getService(String aServiceName) throws DSEObjectNotFoundException;
public void stopServicesInChildren() throws DSEInvalidRequestException ;
public void stopServices();