public class AdapterComponentChecker extends ChildRuntimeInfoComponentImpl implements AdapterComponentCheckerMBean
AdapterComponentCheckerMBean
for use by the GUI to check components.log
COMPONENT_CHECKER_TYPE
Constructor and Description |
---|
AdapterComponentChecker(AdapterManager owner) |
Modifier and Type | Method and Description |
---|---|
SerializableMessage |
applyService(java.lang.String xml,
SerializableMessage serializedMsg)
Apply the configured services to the msg.
|
SerializableMessage |
applyService(java.lang.String xml,
SerializableMessage serializedMsg,
boolean rewriteConnections)
Apply the configured services to the msg.
|
void |
checkInitialise(java.lang.String xml)
Check that this XML will initialise.
|
RuntimeInfoComponent |
getParentRuntimeInfoComponent() |
protected java.lang.String |
getType() |
protected java.lang.String |
uniqueId() |
createObjectName, getParentId, getParentObjectName, registerMBean, unregisterMBean
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createObjectName, registerMBean, unregisterMBean
public AdapterComponentChecker(AdapterManager owner)
protected java.lang.String getType()
getType
in class ChildRuntimeInfoComponentImpl
protected java.lang.String uniqueId()
uniqueId
in class ChildRuntimeInfoComponentImpl
public RuntimeInfoComponent getParentRuntimeInfoComponent()
getParentRuntimeInfoComponent
in interface ChildRuntimeInfoComponent
public void checkInitialise(java.lang.String xml) throws CoreException
AdapterComponentCheckerMBean
checkInitialise
in interface AdapterComponentCheckerMBean
xml
- the XML configuration, which could be a service, or a connection.CoreException
- wrapping any other exception.public SerializableMessage applyService(java.lang.String xml, SerializableMessage serializedMsg) throws CoreException
AdapterComponentCheckerMBean
applyService
in interface AdapterComponentCheckerMBean
xml
- String XML representation of the service (or service-list)serializedMsg
- the message.CoreException
- wrapping any other exceptionpublic SerializableMessage applyService(java.lang.String xml, SerializableMessage serializedMsg, boolean rewriteConnections) throws CoreException
AdapterComponentCheckerMBean
applyService
in interface AdapterComponentCheckerMBean
xml
- String XML representation of the service (or service-list)serializedMsg
- the message.rewriteConnections
- use AdaptrisConnection.cloneForTesting()
to generate a new connection.CoreException
- wrapping any other exception