Package org.apache.webbeans.container
Class ExternalScope
- java.lang.Object
-
- org.apache.webbeans.container.ExternalScope
-
public class ExternalScope extends Object
A wrapper for an external scope which can be added byBeforeBeanDiscovery.addScope(Class, boolean, boolean).
-
-
Constructor Summary
Constructors Constructor Description ExternalScope(Class<? extends Annotation> scope, boolean normal, boolean passivating)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<? extends Annotation>getScope()AnnotationgetScopeAnnotation()booleanisNormal()booleanisPassivating()
-
-
-
Constructor Detail
-
ExternalScope
public ExternalScope(Class<? extends Annotation> scope, boolean normal, boolean passivating)
-
-
Method Detail
-
getScope
public Class<? extends Annotation> getScope()
-
isNormal
public boolean isNormal()
-
isPassivating
public boolean isPassivating()
-
getScopeAnnotation
public Annotation getScopeAnnotation()
- Returns:
- an instance of the annotation class we got set
in
BeforeBeanDiscovery.addScope(Class, boolean, boolean)
-
-