站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 jmx API Documentation 英文版文档

AttributeDispatcher (JBoss/JMX API) - JBoss 3.2.7 jmx API Documentation 英文版文档


org.jboss.mx.server
Class AttributeDispatcher

java.lang.Object
  extended byorg.jboss.mx.server.ReflectedDispatcher
      extended byorg.jboss.mx.server.AttributeDispatcher
All Implemented Interfaces:
Dispatcher

public class AttributeDispatcher
extends ReflectedDispatcher

A dispatcher used by the AbstractMBeanInvoker class for the attribute getter and setter dispatch.

Version:
$Revision: 1.1.2.2 $
Author:
Scott.Stark@jboss.org

Field Summary
 
Fields inherited from class org.jboss.mx.server.ReflectedDispatcher
method, target
 
Constructor Summary
AttributeDispatcher(Object target, Method getter, Method setter)
           
 
Method Summary
 Object dispatch(Object[] args)
          Dispatch the attribute set or get.
 
Methods inherited from class org.jboss.mx.server.ReflectedDispatcher
handleInvocationExceptions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeDispatcher

public AttributeDispatcher(Object target,
                           Method getter,
                           Method setter)
Method Detail

dispatch

public Object dispatch(Object[] args)
                throws InvocationException
Dispatch the attribute set or get. A get is identified by a dispatch with a null args value.

Specified by:
dispatch in interface Dispatcher
Overrides:
dispatch in class ReflectedDispatcher
Returns:
the result of the attribute accessor invocation
Throws:
InvocationException


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.