org.slim3.container
Class MethodHandlerImpl
java.lang.Object
org.slim3.container.MethodHandlerImpl
- All Implemented Interfaces:
- MethodFilter, MethodHandler
public class MethodHandlerImpl
- extends Object
- implements MethodHandler, MethodFilter
An implementation class for MethodHandler
.
- Author:
- higa
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
interceptorMap
protected Map<Method,Interceptor[]> interceptorMap
- The map for interceptors.
MethodHandlerImpl
public MethodHandlerImpl(Map<Method,Interceptor[]> interceptorMap)
- Constructor.
- Parameters:
interceptorMap
- The map for interceptors
invoke
public Object invoke(Object self,
Method thisMethod,
Method proceed,
Object[] args)
throws Throwable
- Specified by:
invoke
in interface MethodHandler
- Throws:
Throwable
isHandled
public boolean isHandled(Method m)
- Specified by:
isHandled
in interface MethodFilter
Copyright © 2008-2009 The Slim3 project. All Rights Reserved.