public interface ChannelManagerMBean extends AdapterComponentMBean, ParentRuntimeInfoComponentMBean, ChildRuntimeInfoComponentMBean, HierarchicalMBean, ParentComponentMBean
ADAPTER_PREFIX, CHANNEL_PREFIX, EQUALS, ID_PREFIX, JMX_ADAPTER_TYPE, JMX_CHANNEL_TYPE, JMX_CONSUMER_MONITOR_TYPE, JMX_DOMAIN_NAME, JMX_FAILED_MESSAGE_RETRIER_TYPE, JMX_FS_MONITOR_TYPE, JMX_INFLIGHT_TYPE, JMX_LOG_HANDLER_TYPE, JMX_METRICS_TYPE, JMX_MSG_ERR_DIGESTER_TYPE, JMX_NOTIFIER_TYPE, JMX_RETRY_MONITOR_TYPE, JMX_WORKFLOW_TYPE, KEY_ADAPTER, KEY_CHANNEL, KEY_ID, KEY_WORKFLOW, NOTIF_MSG_CLOSED, NOTIF_MSG_CONFIG_UPDATED, NOTIF_MSG_INITIALISED, NOTIF_MSG_RESTARTED, NOTIF_MSG_STARTED, NOTIF_MSG_STOPPED, NOTIF_TYPE_ADAPTER_CONFIG, NOTIF_TYPE_ADAPTER_LIFECYCLE, NOTIF_TYPE_CHANNEL_CONFIG, NOTIF_TYPE_CHANNEL_LIFECYCLE, NOTIF_TYPE_WORKFLOW_CONFIG, NOTIF_TYPE_WORKFLOW_LIFECYCLE, PROPERTY_SEPARATOR, WORKFLOW_PREFIX
Modifier and Type | Method and Description |
---|---|
javax.management.ObjectName |
addWorkflow(java.lang.String xmlString)
Add a
Workflow to this channel. |
boolean |
removeWorkflow(java.lang.String id)
Remove a
Workflow from this channel. |
getComponentState, getConfiguration, getUniqueId, getWrappedComponentClassname, requestClose, requestClose, requestInit, requestInit, requestRestart, requestRestart, requestStart, requestStart, requestStartTime, requestStop, requestStop, requestStopTime
getChildRuntimeInfoComponents
getParentId, getParentObjectName
createObjectHierarchyString
getChildren
createObjectName, registerMBean, unregisterMBean
javax.management.ObjectName addWorkflow(java.lang.String xmlString) throws CoreException, java.lang.IllegalStateException, javax.management.MalformedObjectNameException
Workflow
to this channel.xmlString
- the string representation of the workflow.CoreException
- wrapping any exceptionjava.lang.IllegalStateException
- if the state of the adapter is not "Closed"javax.management.MalformedObjectNameException
- upon ObjectName errors.boolean removeWorkflow(java.lang.String id) throws CoreException, java.lang.IllegalStateException, javax.management.MalformedObjectNameException
Workflow
from this channel.
This also removes the associated WorkflowManager
and calls BaseComponentMBean.unregisterMBean()
.
id
- the id of the channel to remove.CoreException
- wrapping any exceptionjava.lang.IllegalStateException
- if the state of the adapter is not "Closed"javax.management.MalformedObjectNameException
- upon ObjectName errors.