public class FeatureProxyInvocationHandler extends Object implements InvocationHandler
InvocationHandler
implementation that delegates invocation to one of two object depending on the state of the
specified feature.Constructor and Description |
---|
FeatureProxyInvocationHandler(Feature feature,
Object active,
Object inactive) |
FeatureProxyInvocationHandler(Feature feature,
Object active,
Object inactive,
FeatureManager featureManager) |
Modifier and Type | Method and Description |
---|---|
Object |
getActive() |
Feature |
getFeature() |
Object |
getInactive() |
Object |
invoke(Object proxy,
Method method,
Object[] args) |
Copyright © 2017. All Rights Reserved.