hk2 4.0.1
org.glassfish.hk2.api
org.glassfish.hk2.api
PerLookup
Top
Description
Methods
org.glassfish.hk2.api
public
@Interface PerLookup
extends
Annotation
Known Direct Implementers
org.
glassfish.
hk2.
utilities.
ServiceLocatorUtilities.
PerLookupImpl
Annotations
@Documented
@Retention
:
RUNTIME
@Scope
@Unproxiable
@Target
:
TYPE
,
METHOD
Static Imports
java.
lang.
annotation.
ElementType.
METHOD
,
.ElementType.
TYPE
,
.RetentionPolicy.
RUNTIME
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
Method Summary
Inherited from
java.lang.annotation.Annotation
:
annotationType
equals
hashCode
toString