当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 jmx API Documentation 英文版文档
RequiredModelMBeanInvoker (JBoss/JMX API) - JBoss 4.0.1 sp1 jmx API Documentation 英文版文档
org.jboss.mx.modelmbean
Class RequiredModelMBeanInvoker
java.lang.Object
org.jboss.mx.server.AbstractMBeanInvoker
org.jboss.mx.server.RawDynamicInvoker
org.jboss.mx.modelmbean.RequiredModelMBeanInvoker
- All Implemented Interfaces:
- DynamicMBean, MBeanInvoker, MBeanRegistration, NotificationBroadcaster, NotificationEmitter, Suspendable
- public class RequiredModelMBeanInvoker
- extends RawDynamicInvoker
An invoker that handles the 'ops' that are part of the RequiredModelMBean
that must be handled at that level rather than its delegate.
- Version:
- $Revison:$
- Author:
- Scott.Stark@jboss.org
Fields inherited from class org.jboss.mx.server.AbstractMBeanInvoker |
attributeContextMap, constructorContextMap, dynamicResource, getMBeanInfoCtx, info, log, operationContextMap, postDeregisterCtx, postRegisterCtx, preDeregisterCtx, preRegisterCtx, resourceEntry |
Methods inherited from class org.jboss.mx.server.AbstractMBeanInvoker |
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 resource)
getAttribute
public Object getAttribute(String name)
throws AttributeNotFoundException,
MBeanException,
ReflectionException
- Description copied from class:
AbstractMBeanInvoker
- 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
- Overrides:
getAttribute
in class RawDynamicInvoker
- Throws:
AttributeNotFoundException
MBeanException
ReflectionException
setAttribute
public void setAttribute(Attribute attribute)
throws AttributeNotFoundException,
InvalidAttributeValueException,
MBeanException,
ReflectionException
- Description copied from class:
AbstractMBeanInvoker
- 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
- Overrides:
setAttribute
in class RawDynamicInvoker
- Throws:
AttributeNotFoundException
InvalidAttributeValueException
MBeanException
ReflectionException
getAttributes
public AttributeList getAttributes(String[] attributes)
- Description copied from interface:
DynamicMBean
- Returns the values of the attributes with names matching the
passed string array.
- Specified by:
getAttributes
in interface DynamicMBean
- Overrides:
getAttributes
in class RawDynamicInvoker
setAttributes
public AttributeList setAttributes(AttributeList attributes)
- Description copied from interface:
DynamicMBean
- Sets the values of the attributes passed as an
AttributeList
of name and new value pairs.
- Specified by:
setAttributes
in interface DynamicMBean
- Overrides:
setAttributes
in class RawDynamicInvoker
invoke
public Object invoke(String name,
Object[] args,
String[] signature)
throws MBeanException,
ReflectionException
- Description copied from class:
AbstractMBeanInvoker
- 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
- Overrides:
invoke
in class RawDynamicInvoker
- Throws:
MBeanException
ReflectionException
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.