public class ProcessAnnotatedTypeImpl<X> extends AbstractDefinitionContainerEvent implements ProcessAnnotatedType<X>
| Modifier | Constructor and Description |
|---|---|
|
ProcessAnnotatedTypeImpl(BeanManagerImpl beanManager,
SlimAnnotatedType<X> annotatedType,
AnnotationDiscovery discovery) |
protected |
ProcessAnnotatedTypeImpl(BeanManagerImpl beanManager,
SlimAnnotatedType<X> annotatedType,
Class<? extends ProcessAnnotatedType> rawType,
AnnotationDiscovery discovery) |
| Modifier and Type | Method and Description |
|---|---|
protected Resolvable |
createResolvable(SlimAnnotatedType<X> annotatedType,
AnnotationDiscovery discovery) |
void |
fire() |
AnnotatedType<X> |
getAnnotatedType()
Returns the
AnnotatedType object that will be used by the container to read the
declared annotations. |
SlimAnnotatedType<X> |
getResultingAnnotatedType()
Call this method after all observer methods of this event have been invoked to get the final value of this
AnnotatedType. |
boolean |
isDirty() |
boolean |
isVeto() |
void |
setAnnotatedType(AnnotatedType<X> type)
Replaces the
AnnotatedType. |
String |
toString() |
void |
veto()
Forces the container to ignore this type.
|
getActualTypeArguments, getBeanManager, getErrors, getObserverMethod, getRawType, getReceiver, setObserverMethod, setReceiverpublic ProcessAnnotatedTypeImpl(BeanManagerImpl beanManager, SlimAnnotatedType<X> annotatedType, AnnotationDiscovery discovery)
protected ProcessAnnotatedTypeImpl(BeanManagerImpl beanManager, SlimAnnotatedType<X> annotatedType, Class<? extends ProcessAnnotatedType> rawType, AnnotationDiscovery discovery)
public AnnotatedType<X> getAnnotatedType()
ProcessAnnotatedTypeAnnotatedType object that will be used by the container to read the
declared annotations.getAnnotatedType in interface ProcessAnnotatedType<X>AnnotatedType objectpublic SlimAnnotatedType<X> getResultingAnnotatedType()
AnnotatedType.public void setAnnotatedType(AnnotatedType<X> type)
ProcessAnnotatedTypeAnnotatedType.setAnnotatedType in interface ProcessAnnotatedType<X>type - the new AnnotatedType object to useprotected Resolvable createResolvable(SlimAnnotatedType<X> annotatedType, AnnotationDiscovery discovery)
public void fire()
fire in class AbstractDefinitionContainerEventpublic void veto()
ProcessAnnotatedTypeveto in interface ProcessAnnotatedType<X>public boolean isVeto()
public boolean isDirty()
Copyright © 2013 Seam Framework. All Rights Reserved.