org.deegree.framework.util
Class DirectInterceptor
java.lang.Object
org.deegree.framework.util.Interceptor
org.deegree.framework.util.DirectInterceptor
public class DirectInterceptor
- extends Interceptor
- Since:
- 2.0
- Version:
- 2.0, $Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Thu, 18 Jun 2009) $
- Author:
- Torsten Friebe , last edited by: $Author: mschneider $
- See Also:
- Chain of Responsibility Design
Pattern
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
target
protected Object target
- to invoke
DirectInterceptor
public DirectInterceptor(Object target)
- Parameters:
target
- to intercept
handleInvocation
protected Object handleInvocation(Method method,
Object[] params)
throws IllegalAccessException,
InvocationTargetException
- Description copied from class:
Interceptor
- Do an invocation of the given method while being able to something else first.
- Specified by:
handleInvocation
in class Interceptor
- Returns:
- some object
- Throws:
IllegalAccessException
InvocationTargetException
getTarget
protected Object getTarget()
- Overrides:
getTarget
in class Interceptor
- Returns:
- the target
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org