public class ProcessAnnotatedTypeImpl<X> extends ContainerEvent implements ProcessAnnotatedType<X>
| Modifier | Constructor and Description |
|---|---|
|
ProcessAnnotatedTypeImpl(BeanManagerImpl beanManager,
SlimAnnotatedType<X> annotatedType) |
protected |
ProcessAnnotatedTypeImpl(BeanManagerImpl beanManager,
SlimAnnotatedType<X> annotatedType,
Class<? extends ProcessAnnotatedType> rawType) |
| Modifier and Type | Method and Description |
|---|---|
AnnotatedType<X> |
getAnnotatedType()
Returns the
AnnotatedType object that will be used by the container to read the
declared annotations. |
SlimAnnotatedType<X> |
getOriginalAnnotatedType() |
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.
|
getReceiver, checkWithinObserverNotification, postNotify, preNotifypublic ProcessAnnotatedTypeImpl(BeanManagerImpl beanManager, SlimAnnotatedType<X> annotatedType)
protected ProcessAnnotatedTypeImpl(BeanManagerImpl beanManager, SlimAnnotatedType<X> annotatedType, Class<? extends ProcessAnnotatedType> rawType)
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 SlimAnnotatedType<X> getOriginalAnnotatedType()
public void setAnnotatedType(AnnotatedType<X> type)
ProcessAnnotatedTypeAnnotatedType.setAnnotatedType in interface ProcessAnnotatedType<X>type - the new AnnotatedType object to usepublic void veto()
ProcessAnnotatedTypeveto in interface ProcessAnnotatedType<X>public boolean isVeto()
public boolean isDirty()
Copyright © 2016. All Rights Reserved.