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

ReflectedDispatcher (JBoss/JMX API) - JBoss 4.0.1 sp1 jmx API Documentation 英文版文档


org.jboss.mx.interceptor
Class ReflectedDispatcher

java.lang.Object
  extended byorg.jboss.mx.interceptor.AbstractInterceptor
      extended byorg.jboss.mx.interceptor.ReflectedDispatcher
All Implemented Interfaces:
Interceptor
Direct Known Subclasses:
AttributeDispatcher

public class ReflectedDispatcher
extends AbstractInterceptor

Version:
$Revision: 1.2.4.1 $
Author:
Juha Lindfors., Scott.Stark@jboss.org

Field Summary
protected  boolean dynamic
           
protected  Method method
           
 
Fields inherited from class org.jboss.mx.interceptor.AbstractInterceptor
isShared, name
 
Constructor Summary
ReflectedDispatcher()
           
ReflectedDispatcher(boolean dynamic)
           
ReflectedDispatcher(Method m, boolean dynamic)
           
 
Method Summary
protected  void handleInvocationExceptions(Throwable t)
           
 Object invoke(Invocation invocation)
          The default invoke implementation queries the invocation object for the next interceptor in the chain.
 
Methods inherited from class org.jboss.mx.interceptor.AbstractInterceptor
destroy, getName, init, isShared, setLogger, setName, start, stop, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

method

protected Method method

dynamic

protected boolean dynamic
Constructor Detail

ReflectedDispatcher

public ReflectedDispatcher()

ReflectedDispatcher

public ReflectedDispatcher(boolean dynamic)

ReflectedDispatcher

public ReflectedDispatcher(Method m,
                           boolean dynamic)
Method Detail

invoke

public Object invoke(Invocation invocation)
              throws Throwable
Description copied from class: AbstractInterceptor
The default invoke implementation queries the invocation object for the next interceptor in the chain. If one exists, it is invoked. Otherwise the invocation is dispatched to the target object.

Concrete implementations should override this method to implement their specific application logic.

Specified by:
invoke in interface Interceptor
Overrides:
invoke in class AbstractInterceptor
Parameters:
invocation - the invocation object send towards the target resource by the invoker
Returns:
return value from the target resource
Throws:
Throwable
See Also:
Invocation, MBeanInvoker

handleInvocationExceptions

protected void handleInvocationExceptions(Throwable t)
                                   throws Throwable
Throws:
Throwable


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