Package org.jboss.weld.util
Class ApiAbstraction
java.lang.Object
org.jboss.weld.util.ApiAbstraction
- Direct Known Subclasses:
AnnotationApiAbstraction,InterceptorsApiAbstraction,PersistenceApiAbstraction,WSApiAbstraction
A base class for utility classes that represent annotations, classes etc
- Author:
- Pete Muir
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface"Not found" classstatic @interface"Not found" annotationstatic enum"Not found" enumeration value. -
Constructor Summary
ConstructorsConstructorDescriptionApiAbstraction(org.jboss.weld.resources.spi.ResourceLoader resourceLoader) Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected Class<? extends Annotation>annotationTypeForName(String name) Initializes an annotation classprotected Class<?>classForName(String name) Initializes a typeprotected Object
-
Constructor Details
-
ApiAbstraction
public ApiAbstraction(org.jboss.weld.resources.spi.ResourceLoader resourceLoader) Constructor- Parameters:
resourceLoader- The root resource loaderS
-
-
Method Details
-
annotationTypeForName
Initializes an annotation class- Parameters:
name- The name of the annotation class- Returns:
- The instance of the annotation. Returns a dummy if the class was not found
-
classForName
Initializes a type- Parameters:
name- The name of the class- Returns:
- The instance of the class. Returns a dummy if the class was not found.
-
enumValue
-