| |
|
| java.lang.Object com.sun.jbi.common.management.ManagementMessageBuilderImpl
ManagementMessageBuilderImpl | public class ManagementMessageBuilderImpl implements ManagementMessageBuilder(Code) | | BuildManagementMessageImpl provides utility methods to build messages (as XML string)
that are returned to the clients by the JBI Framework.
author: Sun Microsystems, Inc. |
ManagementMessageBuilderImpl | public ManagementMessageBuilderImpl()(Code) | | Creates a new BuildManagementMessageImpl instance.
|
buildCompleteExceptionMessage | public String buildCompleteExceptionMessage(ManagementMessageHolder mmObj)(Code) | | Constructs an XML string of the framework exception.
Parameters: mmObj - name of the task XML string representing framework exception message |
buildComponentMessage | public String buildComponentMessage(ComponentMessageHolder cmObj) throws Exception(Code) | | Return an XML string of the task result(either status of exception). This is the
task executed by the component
Parameters: cmObj - Status details of the component XML string with task status throws: Exception - If fails to build XML string |
buildComponentTaskExceptionMessage | public String buildComponentTaskExceptionMessage(ComponentMessageHolder mmObj) throws Exception(Code) | | Constructs an XML string of the component exception.
Parameters: mmObj - HashMap containing component exception information XML string representing component exception throws: Exception - If fails to build component exception message |
buildComponentTaskStatusMessage | public String buildComponentTaskStatusMessage(ComponentMessageHolder mmObj) throws Exception(Code) | | Return an XML string of the task status. This is the task executed by the
component
Parameters: mmObj - Status details of the component XML string with task status throws: Exception - If fails to build XML string |
buildFrameworkExceptionMessage | public Element buildFrameworkExceptionMessage(Document doc, ManagementMessageHolder mmObj) throws Exception(Code) | | Constructs an XML string of the framework exception.
Parameters: doc - Document that needs to be built Parameters: mmObj - HashMap containing component exception information XML string representing framework exception throws: Exception - If fails to build framework exception message |
buildFrameworkTaskStatusMessage | public Element buildFrameworkTaskStatusMessage(Document doc, ManagementMessageHolder mmObj) throws Exception(Code) | | Return an XML string of the task status. This is the task executed by the
framework
Parameters: doc - XML document which needs to be built Parameters: mmObj - name of the task Element with framework task status throws: Exception - If fails to build framework task status |
buildJbiTask | public String buildJbiTask(ManagementMessageHolder mmObj)(Code) | | Constructs an XML string of the framework exception.
Parameters: mmObj - HashMap containing framework exception information XML string representing framework exception |
createDocument | public Document createDocument() throws Exception(Code) | | Returns a org.w3c.dom.Element.
org.w3c.dom.Document throws: Exception - If fails to build Document |
|
|
|