Interface InvocationHandlerAdapter.WithoutPrivilegeConfiguration
- All Superinterfaces:
Implementation, Implementation.Composable, InstrumentedType.Prepareable, InvocationHandlerAdapter.AssignerConfigurable
- All Known Implementing Classes:
InvocationHandlerAdapter.ForField, InvocationHandlerAdapter.ForInstance
- Enclosing class:
InvocationHandlerAdapter
public static interface InvocationHandlerAdapter.WithoutPrivilegeConfiguration
extends InvocationHandlerAdapter.AssignerConfigurable
Allows the configuration of privileged lookup for the resolution of
Method
constants that are provided to the invocation handler.-
Nested Class Summary
Nested classes/interfaces inherited from interface Implementation
Implementation.Composable, Implementation.Compound, Implementation.Context, Implementation.Simple, Implementation.SpecialMethodInvocation, Implementation.TargetNested classes/interfaces inherited from interface InstrumentedType.Prepareable
InstrumentedType.Prepareable.NoOp -
Method Summary
Modifier and TypeMethodDescriptionConfigures that the method constants supplied to the invocation handler adapter are resolved using anjava.security.AccessController.Methods inherited from interface Implementation
appenderMethods inherited from interface Implementation.Composable
andThen, andThenMethods inherited from interface InstrumentedType.Prepareable
prepareMethods inherited from interface InvocationHandlerAdapter.AssignerConfigurable
withAssigner
-
Method Details
-
withPrivilegedLookup
InvocationHandlerAdapter.AssignerConfigurable withPrivilegedLookup()Configures that the method constants supplied to the invocation handler adapter are resolved using anjava.security.AccessController.- Returns:
- This instrumentation with a privileged lookup configured.
-