org.apache.maven.doxia.validation.advices
Class AbstractSinkAdvice
java.lang.Object
org.apache.maven.doxia.validation.advices.AbstractSinkAdvice
- All Implemented Interfaces:
- MethodBeforeAdvice
- Direct Known Subclasses:
- HangingElementAdvice, PrintAdvisor
- public abstract class AbstractSinkAdvice
- extends java.lang.Object
- implements MethodBeforeAdvice
org.aopalliance.aop.Advice implementation usefull to do things with
Sinks.
- Since:
- Nov 6, 2005
- Author:
- Juan F. Codagnone
|
Method Summary |
void |
before(java.lang.reflect.Method method,
java.lang.Object[] args,
java.lang.Object instance)
Callback before a given method is invoked. |
abstract void |
doEnd(java.lang.reflect.Method method,
java.lang.Object[] args,
java.lang.Object instance)
|
abstract void |
doLeaf(java.lang.reflect.Method method,
java.lang.Object[] args,
java.lang.Object instance)
|
abstract void |
doStart(java.lang.reflect.Method method,
java.lang.Object[] args,
java.lang.Object instance)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractSinkAdvice
public AbstractSinkAdvice()
doLeaf
public abstract void doLeaf(java.lang.reflect.Method method,
java.lang.Object[] args,
java.lang.Object instance)
- See Also:
before(Method, Object[], Object)
doStart
public abstract void doStart(java.lang.reflect.Method method,
java.lang.Object[] args,
java.lang.Object instance)
- See Also:
before(Method, Object[], Object)
doEnd
public abstract void doEnd(java.lang.reflect.Method method,
java.lang.Object[] args,
java.lang.Object instance)
- See Also:
before(Method, Object[], Object)
before
public final void before(java.lang.reflect.Method method,
java.lang.Object[] args,
java.lang.Object instance)
throws java.lang.Throwable
- Description copied from interface:
MethodBeforeAdvice
- Callback before a given method is invoked.
- Specified by:
before in interface MethodBeforeAdvice
- Parameters:
method - method being invokedargs - arguments to the methodinstance - target of the method invocation. May be null.
- Throws:
java.lang.Throwable - if this object wishes to abort the call.
Any exception thrown will be returned to the caller if it's
allowed by the method signature. Otherwise the exception
will be wrapped as a runtime exception.- See Also:
org.aopalliance.aop.Advice
Copyright © {inceptionYear}-2006 null. All Rights Reserved.