Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.mx.interceptor
Class ReflectedDispatcher

    java.lang.Object
      org.jboss.mx.interceptor.AbstractInterceptor
          org.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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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