org.jboss.mx.server
Interface MBeanInvoker

All Superinterfaces:
DynamicMBean (src) , MBeanRegistration (src) , NotificationBroadcaster (src) , NotificationEmitter (src) , Suspendable (src)
All Known Implementing Classes:
AbstractMBeanInvoker (src)

public interface MBeanInvoker
extends DynamicMBean (src) , MBeanRegistration (src) , NotificationEmitter (src) , Suspendable (src)

This interface represents an invoker for an MBean. An invoker is registered to the MBean server to represent an user MBean. The invoker itself implements a DynamicMBean interface and therefore receives all attribute accessor and operation invocations targeted at the user MBean.

Invoker implementations may handle the incoming invocations in different ways. The default implementation in AbstractMBeanInvoker constructs an Invocation object for each invocation and dispatches it through a set of Interceptor instances before the invocation is dispatched on the user MBean.


Method Summary
 MBeanInfo (src) getMetaData()
           
 ObjectName (src) getObjectName()
           
 java.lang.Object getResource()
           
 void setResource(java.lang.Object resource)
           
 void updateAttributeInfo(Descriptor (src)  attrDesc)
           
 
Methods inherited from interface javax.management.DynamicMBean (src)
getAttribute, getAttributes, getMBeanInfo, invoke, setAttribute, setAttributes
 
Methods inherited from interface javax.management.MBeanRegistration (src)
postDeregister, postRegister, preDeregister, preRegister
 
Methods inherited from interface javax.management.NotificationEmitter (src)
removeNotificationListener
 
Methods inherited from interface javax.management.NotificationBroadcaster (src)
addNotificationListener, getNotificationInfo, removeNotificationListener
 
Methods inherited from interface org.jboss.mx.server.Suspendable (src)
getInvocationTimeout, isSuspended, resume, setInvocationTimeout, suspend, suspend, suspend
 

Method Detail

getMetaData

public MBeanInfo (src)  getMetaData()

getResource

public java.lang.Object getResource()

setResource

public void setResource(java.lang.Object resource)

getObjectName

public ObjectName (src)  getObjectName()

updateAttributeInfo

public void updateAttributeInfo(Descriptor (src)  attrDesc)
                         throws MBeanException (src) 
Throws:
MBeanException (src)