org.jboss.mx.modelmbean
Class RequiredModelMBeanInvoker
java.lang.Object
org.jboss.mx.server.AbstractMBeanInvoker (src)
org.jboss.mx.server.RawDynamicInvoker (src)
org.jboss.mx.modelmbean.RequiredModelMBeanInvoker
- All Implemented Interfaces:
- DynamicMBean (src) , MBeanInvoker (src) , MBeanRegistration (src) , NotificationBroadcaster (src) , NotificationEmitter (src) , Suspendable (src)
- public class RequiredModelMBeanInvoker
- extends RawDynamicInvoker (src)
An invoker that handles the 'ops' that are part of the RequiredModelMBean
that must be handled at that level rather than its delegate.
| Fields inherited from class org.jboss.mx.server.AbstractMBeanInvoker (src) |
attributeContextMap, constructorContextMap, dynamicResource, getMBeanInfoCtx, info, log, operationContextMap, postDeregisterCtx, postRegisterCtx, preDeregisterCtx, preRegisterCtx, resourceEntry |
| Methods inherited from class org.jboss.mx.server.AbstractMBeanInvoker (src) |
addNotificationListener, addNotificationListenerToResource, getInvocationTimeout, getMBeanEntry, getMetaData, getNotificationInfo, getNotificationInfoFromResource, getObjectName, getResource, getServer, getSignatureString, initAttributeContexts, initDispatchers, initOperationContexts, inject, invokePostDeregister, invokePostRegister, invokePreDeregister, invokePreRegister, isSuspended, override, removeNotificationListener, removeNotificationListener, removeNotificationListenerFromResource, removeNotificationListenerFromResource, resume, setInvocationTimeout, setMBeanEntry, setResource, suspend, suspend, suspend, updateAttributeInfo |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequiredModelMBeanInvoker
public RequiredModelMBeanInvoker(DynamicMBean (src) resource)
getAttribute
public java.lang.Object getAttribute(java.lang.String name)
throws AttributeNotFoundException (src) ,
MBeanException (src) ,
ReflectionException (src)
- Description copied from class:
AbstractMBeanInvoker (src)
- Returns an attribte value. The request for the value is forced through a
set of interceptors before the value is returned.
- Specified by:
getAttribute in interface DynamicMBean (src) - Overrides:
getAttribute in class RawDynamicInvoker (src)
- Throws:
AttributeNotFoundException (src)
MBeanException (src)
ReflectionException (src)
setAttribute
public void setAttribute(Attribute (src) attribute)
throws AttributeNotFoundException (src) ,
InvalidAttributeValueException (src) ,
MBeanException (src) ,
ReflectionException (src)
- Description copied from class:
AbstractMBeanInvoker (src)
- Sets an attribute value. The operation is forced through a set of
interceptors before the new value for the attribute is set.
- Specified by:
setAttribute in interface DynamicMBean (src) - Overrides:
setAttribute in class RawDynamicInvoker (src)
- Throws:
AttributeNotFoundException (src)
InvalidAttributeValueException (src)
MBeanException (src)
ReflectionException (src)
getAttributes
public AttributeList (src) getAttributes(java.lang.String[] attributes)
- Description copied from interface:
DynamicMBean (src)
- Returns the values of the attributes with names matching the
passed string array.
- Specified by:
getAttributes in interface DynamicMBean (src) - Overrides:
getAttributes in class RawDynamicInvoker (src)
setAttributes
public AttributeList (src) setAttributes(AttributeList (src) attributes)
- Description copied from interface:
DynamicMBean (src)
- Sets the values of the attributes passed as an
AttributeList (src) of name and new value pairs.
- Specified by:
setAttributes in interface DynamicMBean (src) - Overrides:
setAttributes in class RawDynamicInvoker (src)
invoke
public java.lang.Object invoke(java.lang.String name,
java.lang.Object[] args,
java.lang.String[] signature)
throws MBeanException (src) ,
ReflectionException (src)
- Description copied from class:
AbstractMBeanInvoker (src)
- Invokes the target resource. The default invocation used by this invoker
implement sends the invocation through a stack of interceptors before
reaching the target method.
- Specified by:
invoke in interface DynamicMBean (src) - Overrides:
invoke in class RawDynamicInvoker (src)
- Throws:
MBeanException (src)
ReflectionException (src)