当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 jmx API Documentation 英文版文档
AttributeDispatcher (JBoss/JMX API) - JBoss 4.0.1 sp1 jmx API Documentation 英文版文档
org.jboss.mx.interceptor
Class AttributeDispatcher
java.lang.Object
org.jboss.mx.interceptor.AbstractInterceptor
org.jboss.mx.interceptor.ReflectedDispatcher
org.jboss.mx.interceptor.AttributeDispatcher
- All Implemented Interfaces:
- Interceptor
- public class AttributeDispatcher
- extends ReflectedDispatcher
A dispatcher used by the AbstractMBeanInvoker class for the attribute
getter and setter dispatch.
- Version:
- $Revision: 1.2 $
- Author:
- Scott.Stark@jboss.org
AttributeDispatcher
public AttributeDispatcher(Method getter,
Method setter,
boolean dynamic)
invoke
public Object invoke(Invocation invocation)
throws Throwable
- Dispatch the attribute set or get. A get is identified by a dispatch
with a null args value.
- Specified by:
invoke
in interface Interceptor
- Overrides:
invoke
in class ReflectedDispatcher
- Returns:
- the result of the attribute accessor invocation
- Throws:
InvocationException
Throwable
checkAssignable
protected void checkAssignable(String context,
Class clazz,
Object value)
throws InvalidAttributeValueException,
ClassNotFoundException
- Throws:
InvalidAttributeValueException
ClassNotFoundException
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.