throws ConfigException, InitializationException {
ServerManagementContext managementContext =
ServerManagementContext.getInstance();
RootCfg rootConfiguration =
managementContext.getRootConfiguration();
WorkflowElementCfg workflowConfiguration =
rootConfiguration.getWorkflowElement(workflowName);
workflowConfiguration.addChangeListener(this);
if (workflowConfiguration.isEnabled())
{
return (loadAndRegisterWorkflowElement(workflowConfiguration));
}
return (null);