public class ManagementService extends Object implements ServiceLifecycle
| Constructor and Description |
|---|
ManagementService() |
| Modifier and Type | Method and Description |
|---|---|
ManagementContext |
getManagementContext()
Helper to get ManagementContext from an Environment Context in SunASJBIFramework.
|
void |
initService(EnvironmentContext envContext)
Initialize the Management Service.
|
void |
startService()
Start the Management service.
|
void |
stopService()
Stop the Management service.
|
void |
updateComponentState(String componentName)
This is called by the framework whenever a component changes state, so
that the deployment service can be notified to update any affected
service connections.
|
public void initService(EnvironmentContext envContext) throws JBIException
initService in interface ServiceLifecycleenvContext - the JBI environment context created
by the JBI frameworkJBIException - if an error occurspublic void startService()
throws JBIException
startService in interface ServiceLifecycleJBIException - if an error occurs.public void stopService()
throws JBIException
stopService in interface ServiceLifecycleJBIException - if an error occurs.public void updateComponentState(String componentName)
componentName - name of a component that has changed statepublic ManagementContext getManagementContext()
Copyright © 2011-2016 OpenESB Community. All Rights Reserved.