Interface ChannelManagerMBean

    • Method Detail

      • addWorkflow

        javax.management.ObjectName addWorkflow​(java.lang.String xmlString)
                                         throws CoreException,
                                                java.lang.IllegalStateException,
                                                javax.management.MalformedObjectNameException
        Add a Workflow to this channel.
        Parameters:
        xmlString - the string representation of the workflow.
        Returns:
        the ObjectName reference to the newly created ChannelManagerMBean.
        Throws:
        CoreException - wrapping any exception
        java.lang.IllegalStateException - if the state of the adapter is not "Closed"
        javax.management.MalformedObjectNameException - upon ObjectName errors.
      • removeWorkflow

        boolean removeWorkflow​(java.lang.String id)
                        throws CoreException,
                               java.lang.IllegalStateException,
                               javax.management.MalformedObjectNameException
        Remove a Workflow from this channel.

        This also removes the associated WorkflowManager and calls BaseComponentMBean.unregisterMBean().

        Parameters:
        id - the id of the channel to remove.
        Returns:
        true if the channel existed and was removed, false otherwise.
        Throws:
        CoreException - wrapping any exception
        java.lang.IllegalStateException - if the state of the adapter is not "Closed"
        javax.management.MalformedObjectNameException - upon ObjectName errors.