Top Description Methods
org.glassfish.hk2.api

public @Interface Unproxiable

extends Annotation
Annotations
@Documented
@Retention:RUNTIME
@Target:ANNOTATION_TYPE
Static Imports
java.lang.annotation.ElementType.ANNOTATION_TYPE, .RetentionPolicy.RUNTIME

This 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 the Descriptor is reified.

A scope must not be marked with both Proxiable and Unproxiable

The PerLookup scope is Unproxiable because every method invocation on a PerLookup object would cause a new instance to be created

Author
jwells

Method Summary

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString