javax.enterprise.context
Annotation Type Dependent


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

Dependent scope type.

If webbeans or its stereotypes do not define its scope type, default scope type is Dependent scope.

Every webbeans instance has an associated dependent context. Each dependent context is destroyed with its parent webbeans component instance.

Please see 8.3 Dependent pseudo-scope of the specification for getting furhter information.



Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.