Package org.togglz.core.proxy
Class FeatureProxyInvocationHandler
- java.lang.Object
-
- org.togglz.core.proxy.FeatureProxyInvocationHandler
-
- All Implemented Interfaces:
InvocationHandler
public class FeatureProxyInvocationHandler extends Object implements InvocationHandler
AInvocationHandlerimplementation that delegates invocation to one of two object depending on the state of the specified feature.- Author:
- Christian Kaltepoth
-
-
Constructor Summary
Constructors Constructor Description FeatureProxyInvocationHandler(Feature feature, Object active, Object inactive)FeatureProxyInvocationHandler(Feature feature, Object active, Object inactive, FeatureManager featureManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetActive()FeaturegetFeature()ObjectgetInactive()Objectinvoke(Object proxy, Method method, Object[] args)
-