| |
|
| java.lang.Object com.sun.jbi.management.system.BuildManagementMessageImpl
BuildManagementMessageImpl | public class BuildManagementMessageImpl implements ManagementMessageBuilder(Code) | | BuildManagementMessageImpl provides utility methods to build messages
(as XML string) that are returned to the clients by the JBI Framework.
|
MAX_NESTING_LEVEL | int MAX_NESTING_LEVEL(Code) | | Max. nesting level
|
cannotBuildMsgStr | String cannotBuildMsgStr(Code) | | String to represent INVALID input
|
missingDataStr | String missingDataStr(Code) | | String to represent UNKNOWN elements
|
BuildManagementMessageImpl | public BuildManagementMessageImpl()(Code) | | Constructs a BuildManagementMessageImpl .
|
buildCompleteExceptionMessage | public String buildCompleteExceptionMessage(ManagementMessageHolder mmObj)(Code) | | Constructs an XML string of the framework exception.
Parameters: taskName - name of the task Parameters: stckTrElem - Array of StackTraceElements Parameters: jbiExLocToken - Error message token Parameters: jbiExLocMessage - Framework error message 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: params - 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: params - 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: params - 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: params - 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: taskName - name of the task Parameters: taskResult - Status of the task Parameters: frameworkLocale - Locale in which the framework is running 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: params - 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 |
|
|
|