Package org.glassfish.hk2.api
Annotation Type Unproxiable
-
@Documented @Retention(RUNTIME) @Target(ANNOTATION_TYPE) public @interface UnproxiableThis annotation must go on a scope annotation in order to indicate that no services from this scope may be proxied.Any descriptor that returns true from
Descriptor.isProxiable()but whose scope is Unproxiable will cause an exception when theDescriptoris reified.A scope must not be marked with both
ProxiableandUnproxiableThe
PerLookupscope is Unproxiable because every method invocation on aPerLookupobject would cause a new instance to be created