org.jboss.weld.metadata.cache
Class ScopeModel<T extends Annotation>

java.lang.Object
  extended by org.jboss.weld.metadata.cache.AnnotationModel<T>
      extended by org.jboss.weld.metadata.cache.ScopeModel<T>

public class ScopeModel<T extends Annotation>
extends AnnotationModel<T>

Model of a scope

Author:
Pete Muir

Field Summary
 
Fields inherited from class org.jboss.weld.metadata.cache.AnnotationModel
valid
 
Constructor Summary
ScopeModel(Class<T> scope, ClassTransformer classTransformer)
          Constrctor
 
Method Summary
protected  void check()
           
protected  Set<Class<? extends Annotation>> getMetaAnnotationTypes()
          Gets the corresponding meta-annotation type class
 boolean isNormal()
          Indicates if the scope is "normal"
 boolean isPassivating()
          Indicates if the scope is "passivating"
 String toString()
          Gets a string representation of the scope model
 
Methods inherited from class org.jboss.weld.metadata.cache.AnnotationModel
getAnnotatedAnnotation, getRawType, init, initType, initValid, isValid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ScopeModel

public ScopeModel(Class<T> scope,
                  ClassTransformer classTransformer)
Constrctor

Parameters:
scope - The scope type
Method Detail

check

protected void check()
Overrides:
check in class AnnotationModel<T extends Annotation>

isNormal

public boolean isNormal()
Indicates if the scope is "normal"

Returns:
True if normal, false otherwise

isPassivating

public boolean isPassivating()
Indicates if the scope is "passivating"

Returns:
True if passivating, false otherwise

getMetaAnnotationTypes

protected Set<Class<? extends Annotation>> getMetaAnnotationTypes()
Gets the corresponding meta-annotation type class

Specified by:
getMetaAnnotationTypes in class AnnotationModel<T extends Annotation>
Returns:
The ScopeType class

toString

public String toString()
Gets a string representation of the scope model

Overrides:
toString in class AnnotationModel<T extends Annotation>
Returns:
The string representation


Copyright © 2013 Seam Framework. All Rights Reserved.