Annotation Type Unproxiable


  • @Documented
    @Retention(RUNTIME)
    @Target(ANNOTATION_TYPE)
    public @interface Unproxiable
    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