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, setReceiver
public 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()
ProcessAnnotatedType
AnnotatedType
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)
ProcessAnnotatedType
AnnotatedType
.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 AbstractDefinitionContainerEvent
public void veto()
ProcessAnnotatedType
veto
in interface ProcessAnnotatedType<X>
public boolean isVeto()
public boolean isDirty()
Copyright © 2013 Seam Framework. All Rights Reserved.