|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.webbeans.portable.AnnotatedElementFactory
public final class AnnotatedElementFactory
Factory for Annotated elements.
| Constructor Summary | |
|---|---|
AnnotatedElementFactory(WebBeansContext webBeansContext)
No instantiate. |
|
| Method Summary | ||
|---|---|---|
void |
clear()
Clear caches. |
|
|
getAnnotatedType(Class<X> annotatedClass)
Get an already registered AnnotatedType. |
|
static AnnotatedElementFactory |
getInstance()
Deprecated. |
|
|
newAnnotatedConstructor(Constructor<X> constructor,
javax.enterprise.inject.spi.AnnotatedType<X> declaringClass)
Creates and configures new annotated constructor. |
|
|
newAnnotatedField(Field field,
javax.enterprise.inject.spi.AnnotatedType<X> declaringClass)
Creates and configures new annotated field. |
|
|
newAnnotatedMethod(Method method,
javax.enterprise.inject.spi.AnnotatedType<X> declaringType)
Creates and configures new annotated method. |
|
|
newAnnotatedType(Class<X> annotatedClass)
Creates and configures new annotated type. |
|
|
setAnnotatedType(javax.enterprise.inject.spi.AnnotatedType<X> annotatedType)
This method will get used to manually add AnnoatedTypes to our storage. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AnnotatedElementFactory(WebBeansContext webBeansContext)
| Method Detail |
|---|
@Deprecated public static AnnotatedElementFactory getInstance()
public <X> javax.enterprise.inject.spi.AnnotatedType<X> getAnnotatedType(Class<X> annotatedClass)
X - annotatedClass -
public <X> javax.enterprise.inject.spi.AnnotatedType<X> setAnnotatedType(javax.enterprise.inject.spi.AnnotatedType<X> annotatedType)
BeforeBeanDiscovery.addAnnotatedType(AnnotatedType)
Sets the annotatedType and replace the given one.
X - annotatedType -
public <X> javax.enterprise.inject.spi.AnnotatedType<X> newAnnotatedType(Class<X> annotatedClass)
X - class infoannotatedClass - annotated class
public <X> javax.enterprise.inject.spi.AnnotatedConstructor<X> newAnnotatedConstructor(Constructor<X> constructor,
javax.enterprise.inject.spi.AnnotatedType<X> declaringClass)
X - declaring classconstructor - constructor
public <X> javax.enterprise.inject.spi.AnnotatedField<X> newAnnotatedField(Field field,
javax.enterprise.inject.spi.AnnotatedType<X> declaringClass)
X - declaring classfield - field instancedeclaringClass - declaring class
public <X> javax.enterprise.inject.spi.AnnotatedMethod<X> newAnnotatedMethod(Method method,
javax.enterprise.inject.spi.AnnotatedType<X> declaringType)
X - declaring classmethod - annotated methoddeclaringType - declaring class info
public void clear()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||