public class MbMessageAssembly
extends java.lang.Object
Warning: caching MbMessageAssembly objects over multiple message flow invocations is unsupported because the internal state may be reset at the end of the current message invocation.
Constructor and Description |
---|
MbMessageAssembly(MbMessageAssembly assembly,
MbMessage message)
Semi-copy constructor for MbMessageAssembly.
|
MbMessageAssembly(MbMessageAssembly assembly,
MbMessage localEnvironment,
MbMessage exceptionList,
MbMessage message)
Semi-copy constructor for MbMessageAssembly.
|
MbMessageAssembly(MbMessageAssembly assembly,
MbMessage localEnvironment,
MbMessage globalEnvironment,
MbMessage exceptionList,
MbMessage message)
Deprecated.
a new global environment should not be created. Use alternative
constructor |
Modifier and Type | Method and Description |
---|---|
MbMessage |
getExceptionList()
Gets the exception list associated with the assembly.
|
MbMessage |
getGlobalEnvironment()
Gets the global environment associated with the assembly.
|
MbMessage |
getLocalEnvironment()
Gets the local environment associated with the assembly.
|
MbMessage |
getMessage()
Gets the message associated with the assembly.
|
java.lang.String |
toString()
Returns a String representation of the MbMessage.
|
public MbMessageAssembly(MbMessageAssembly assembly, MbMessage message) throws MbException
assembly
- The MbMessageAssembly upon which the new assembly is based.message
- The new message object to add to the assembly.MbException
public MbMessageAssembly(MbMessageAssembly assembly, MbMessage localEnvironment, MbMessage globalEnvironment, MbMessage exceptionList, MbMessage message) throws MbException
constructor
assembly
- The MbMessageAssembly upon which the new assembly is based.localEnvironment
- The MbMessage representing the local environment.globalEnvironment
- The MbMessage representing the global environment.exceptionList
- The MbMessage representing the exception list.message
- The MbMessage representing the message.MbException
public MbMessageAssembly(MbMessageAssembly assembly, MbMessage localEnvironment, MbMessage exceptionList, MbMessage message) throws MbException
assembly
- The MbMessageAssembly upon which the new assembly is based.localEnvironment
- The MbMessage representing the local environment.exceptionList
- The MbMessage representing the exception list.message
- The MbMessage representing the message.MbException
public MbMessage getMessage() throws MbException
MbException
public MbMessage getLocalEnvironment() throws MbException
MbException
public MbMessage getGlobalEnvironment() throws MbException
MbException
public MbMessage getExceptionList() throws MbException
MbException
public java.lang.String toString()
toString
in class java.lang.Object