public class InterceptorNotification extends javax.management.NotificationBroadcasterSupport implements InterceptorNotificationMBean, ChildRuntimeInfoComponent
NOTIF_TYPE_INTERCEPTOR
Modifier | Constructor and Description |
---|---|
protected |
InterceptorNotification(WorkflowManager owner,
NotifyingInterceptor interceptor) |
Modifier and Type | Method and Description |
---|---|
javax.management.ObjectName |
createObjectName()
Create the object name representation of the mbean.
|
javax.management.MBeanNotificationInfo[] |
getNotificationInfo() |
java.lang.String |
getParentId()
Get the parent's uniqueid.
|
javax.management.ObjectName |
getParentObjectName()
Get the parents ObjectName representation.
|
ParentRuntimeInfoComponent |
getParentRuntimeInfoComponent() |
void |
registerMBean()
Register this component (and all children) against the default Platform MBeanServer.
|
void |
sendNotification(java.lang.String message,
java.util.Properties userData)
Send a a JMX notification containing the message and associated userdata.
|
void |
unregisterMBean()
Unregister this component (and all children) from the default Platform MBeanServer.
|
protected InterceptorNotification(WorkflowManager owner, NotifyingInterceptor interceptor) throws javax.management.MalformedObjectNameException
javax.management.MalformedObjectNameException
public ParentRuntimeInfoComponent getParentRuntimeInfoComponent()
getParentRuntimeInfoComponent
in interface ChildRuntimeInfoComponent
public javax.management.ObjectName getParentObjectName() throws javax.management.MalformedObjectNameException
ChildRuntimeInfoComponentMBean
getParentObjectName
in interface ChildRuntimeInfoComponentMBean
javax.management.MalformedObjectNameException
public java.lang.String getParentId()
ChildRuntimeInfoComponentMBean
getParentId
in interface ChildRuntimeInfoComponentMBean
public javax.management.ObjectName createObjectName() throws javax.management.MalformedObjectNameException
BaseComponentMBean
createObjectName
in interface BaseComponentMBean
javax.management.MalformedObjectNameException
- on exception.public void registerMBean() throws CoreException
BaseComponentMBean
registerMBean
in interface BaseComponentMBean
CoreException
- wrapping any exceptionManagementFactory.getPlatformMBeanServer()
public void unregisterMBean() throws CoreException
BaseComponentMBean
unregisterMBean
in interface BaseComponentMBean
CoreException
- wrapping any exceptionManagementFactory.getPlatformMBeanServer()
public javax.management.MBeanNotificationInfo[] getNotificationInfo()
getNotificationInfo
in interface javax.management.NotificationBroadcaster
getNotificationInfo
in class javax.management.NotificationBroadcasterSupport
public void sendNotification(java.lang.String message, java.util.Properties userData)
InterceptorNotificationMBean
sendNotification
in interface InterceptorNotificationMBean
message
- the messageuserData
- the userdata.