}
}
private void shutdownECL()
{
WorkflowImpl eclwf =
(WorkflowImpl)WorkflowImpl.getWorkflow(externalChangeLogWorkflowID);
// do it only if not already done by another RS (unit test case)
// if (DirectoryServer.getWorkflowElement(externalChangeLogWorkflowID)
if (eclwf!=null)
{
// FIXME:ECL should the ECL Workflow be registered in internalNetworkGroup?
NetworkGroup internalNetworkGroup = NetworkGroup.getInternalNetworkGroup();
internalNetworkGroup.deregisterWorkflow(externalChangeLogWorkflowID);
// FIXME:ECL should the ECL Workflow be registered in adminNetworkGroup?
NetworkGroup adminNetworkGroup = NetworkGroup.getAdminNetworkGroup();
adminNetworkGroup.deregisterWorkflow(externalChangeLogWorkflowID);
NetworkGroup defaultNetworkGroup = NetworkGroup.getDefaultNetworkGroup();
defaultNetworkGroup.deregisterWorkflow(externalChangeLogWorkflowID);
eclwf.deregister();
eclwf.finalizeWorkflow();
}
eclwe = (ECLWorkflowElement)
DirectoryServer.getWorkflowElement("EXTERNAL CHANGE LOG");
if (eclwe!=null)