org.apache.webbeans.container
Class ExternalScope

java.lang.Object
  extended by org.apache.webbeans.container.ExternalScope

public class ExternalScope
extends java.lang.Object

A wrapper for an external scope which can be added by BeforeBeanDiscovery.addScope(Class, boolean, boolean).


Constructor Summary
ExternalScope(java.lang.Class<? extends java.lang.annotation.Annotation> scope, boolean normal, boolean passivating)
           
 
Method Summary
 java.lang.Class<? extends java.lang.annotation.Annotation> getScope()
           
 java.lang.annotation.Annotation getScopeAnnotation()
           
 boolean isNormal()
           
 boolean isPassivating()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExternalScope

public ExternalScope(java.lang.Class<? extends java.lang.annotation.Annotation> scope,
                     boolean normal,
                     boolean passivating)
Method Detail

getScope

public java.lang.Class<? extends java.lang.annotation.Annotation> getScope()

isNormal

public boolean isNormal()

isPassivating

public boolean isPassivating()

getScopeAnnotation

public java.lang.annotation.Annotation getScopeAnnotation()
Returns:
an instance of the annotation class we got set in BeforeBeanDiscovery.addScope(Class, boolean, boolean)


Copyright © 2008-2011 The Apache Software Foundation. All Rights Reserved.