| org.jboss.mx.modelmbean.ModelMBeanInvoker org.jboss.mx.modelmbean.XMBean
Method Summary | |
public void | addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) | protected void | configureInterceptorStack(ModelMBeanInfo info, MBeanServer server, ObjectName name) | public MBeanNotificationInfo[] | getNotificationInfo() | public void | handleNotification(Notification notification, Object handback) Implements NotificationListener interface by simply forwarding
any received Notification to the wrapped resource, if it
implements the NotificationListener interface, too. | public boolean | isSupportedResourceType(Object resource, String resourceType) | public void | removeNotificationListener(NotificationListener listener) | public void | removeNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) |
XMBean | public XMBean() throws MBeanException(Code) | | Default constructor for the XMBean Model MBean implementation. This
creates an uninitialized Model MBean template.
|
XMBean | public XMBean(ModelMBeanInfo info) throws MBeanException(Code) | | Creates an XMBean Model MBean implementation with a predefined JMX
metadata.
Parameters: info - Model MBean metadata describing this MBean template |
handleNotification | public void handleNotification(Notification notification, Object handback)(Code) | | Implements NotificationListener interface by simply forwarding
any received Notification to the wrapped resource, if it
implements the NotificationListener interface, too.
This is needed to allow the wrapped resource to register for
Notifications using the XMBean ObjectName, rather than its own
"this" reference - dimitris
|
isSupportedResourceType | public boolean isSupportedResourceType(Object resource, String resourceType)(Code) | | |
Methods inherited from org.jboss.mx.modelmbean.ModelMBeanInvoker | public void addAttributeChangeNotificationListener(NotificationListener listener, String attributeName, Object handback) throws MBeanException(Code)(Java Doc) public void addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback)(Code)(Java Doc) protected void configureInterceptorStack(ModelMBeanInfo info, MBeanServer server, ObjectName name) throws Exception(Code)(Java Doc) protected List getInterceptors(Descriptor d) throws Exception(Code)(Java Doc) public MBeanNotificationInfo[] getNotificationInfo()(Code)(Java Doc) protected void init(MBeanServer server, ObjectName name) throws Exception(Code)(Java Doc) protected void initAttributeContexts(MBeanAttributeInfo[] attributes)(Code)(Java Doc) protected void initOperationContexts(MBeanOperationInfo[] operations)(Code)(Java Doc) protected void initPersistence(MBeanServer server, ObjectName name) throws MBeanException, InstanceNotFoundException(Code)(Java Doc) public ObjectName invokePreRegister(MBeanServer server, ObjectName name) throws Exception(Code)(Java Doc) protected boolean isSupportedResourceType(Object resource, String resourceType)(Code)(Java Doc) public void load() throws MBeanException, InstanceNotFoundException(Code)(Java Doc) protected void override(Invocation invocation) throws MBeanException(Code)(Java Doc) public void removeAttributeChangeNotificationListener(NotificationListener listener, String attributeName) throws MBeanException, ListenerNotFoundException(Code)(Java Doc) public void removeNotificationListener(NotificationListener listener) throws ListenerNotFoundException(Code)(Java Doc) public void removeNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) throws ListenerNotFoundException(Code)(Java Doc) public void sendAttributeChangeNotification(AttributeChangeNotification notification) throws MBeanException(Code)(Java Doc) public void sendAttributeChangeNotification(Attribute oldValue, Attribute newValue) throws MBeanException, RuntimeOperationsException(Code)(Java Doc) public void sendNotification(String ntfyText) throws MBeanException, RuntimeOperationsException(Code)(Java Doc) public void sendNotification(Notification ntfyObj) throws MBeanException, RuntimeOperationsException(Code)(Java Doc) public void setManagedResource(Object ref, String resourceType) throws MBeanException, InstanceNotFoundException, InvalidTargetObjectTypeException(Code)(Java Doc) public void setModelMBeanInfo(ModelMBeanInfo info) throws MBeanException, RuntimeOperationsException(Code)(Java Doc) protected void setValuesFromMBeanInfo() throws JMException(Code)(Java Doc) public void store() throws MBeanException, InstanceNotFoundException(Code)(Java Doc)
|
|
|