public class BuildManagementMessageImpl extends Object implements ManagementMessageBuilder
| Constructor and Description |
|---|
BuildManagementMessageImpl()
Constructs a
BuildManagementMessageImpl. |
| Modifier and Type | Method and Description |
|---|---|
String |
buildCompleteExceptionMessage(ManagementMessageHolder mmObj)
Constructs an XML string of the framework exception.
|
String |
buildComponentMessage(ComponentMessageHolder cmObj)
Return an XML string of the task result(either status of exception).
|
String |
buildComponentTaskExceptionMessage(ComponentMessageHolder mmObj)
Constructs an XML string of the component exception.
|
String |
buildComponentTaskStatusMessage(ComponentMessageHolder mmObj)
Return an XML string of the task status.
|
Element |
buildExceptionXMLFragment(Document doc,
ComponentMessageHolder mmObj) |
Element |
buildFrameworkExceptionMessage(Document doc,
ManagementMessageHolder mmObj)
Constructs an XML string of the framework exception.
|
Element |
buildFrameworkTaskStatusMessage(Document doc,
ManagementMessageHolder mmObj)
Return an XML string of the task status.
|
String |
buildJbiTask(ManagementMessageHolder mmObj)
Constructs an XML string of the framework exception.
|
Document |
createDocument()
Returns a org.w3c.dom.Element.
|
public BuildManagementMessageImpl()
BuildManagementMessageImpl.public String buildComponentMessage(ComponentMessageHolder cmObj) throws Exception
buildComponentMessage in interface ManagementMessageBuilderparams - Status details of the componentException - If fails to build XML stringpublic String buildComponentTaskStatusMessage(ComponentMessageHolder mmObj) throws Exception
params - Status details of the componentException - If fails to build XML stringpublic Element buildFrameworkTaskStatusMessage(Document doc, ManagementMessageHolder mmObj) throws Exception
doc - XML document which needs to be builttaskName - name of the tasktaskResult - Status of the taskframeworkLocale - Locale in which the framework is runningException - If fails to build framework task statuspublic Element buildExceptionXMLFragment(Document doc, ComponentMessageHolder mmObj) throws Exception
Exceptionpublic String buildComponentTaskExceptionMessage(ComponentMessageHolder mmObj) throws Exception
params - HashMap containing component exception informationException - If fails to build component exception messagepublic Element buildFrameworkExceptionMessage(Document doc, ManagementMessageHolder mmObj) throws Exception
doc - Document that needs to be builtparams - HashMap containing component exception informationException - If fails to build framework exception messagepublic Document createDocument() throws Exception
Exception - If fails to build Documentpublic String buildCompleteExceptionMessage(ManagementMessageHolder mmObj)
taskName - name of the taskstckTrElem - Array of StackTraceElementsjbiExLocToken - Error message tokenjbiExLocMessage - Framework error messagepublic String buildJbiTask(ManagementMessageHolder mmObj)
params - HashMap containing framework exception informationCopyright © 2011-2016 OpenESB Community. All Rights Reserved.