org.qi4j.api.mixin
Class NoopMixin

java.lang.Object
  extended by org.qi4j.api.mixin.NoopMixin
All Implemented Interfaces:
java.lang.reflect.InvocationHandler

public final class NoopMixin
extends java.lang.Object
implements java.lang.reflect.InvocationHandler

Generic mixin that is a no-op. Can be useful if the functionality of a method is mainly provided by concerns and side-effects.


Constructor Summary
NoopMixin()
           
 
Method Summary
 java.lang.Object invoke(java.lang.Object object, java.lang.reflect.Method method, java.lang.Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoopMixin

public NoopMixin()
Method Detail

invoke

public java.lang.Object invoke(java.lang.Object object,
                               java.lang.reflect.Method method,
                               java.lang.Object[] args)
                        throws java.lang.Throwable
Specified by:
invoke in interface java.lang.reflect.InvocationHandler
Throws:
java.lang.Throwable