org.glassfish.hk2.api
Annotation Type PerLookup


@Documented
@Retention(value=RUNTIME)
@Scope
@Target(value={TYPE,METHOD})
public @interface PerLookup

PerLookup is the scope for objects that are created every time they are looked up. PerLookup objects will be destroyed whenever a service containing them is destroyed or they are destroyed explicitly with the ServiceHandle.destroy() method.

Author:
jwells



Copyright © 2013 Oracle Corporation. All Rights Reserved.