@Module public class AfterBeanDiscoveryImpl extends java.lang.Object implements AfterBeanDiscovery
| Modifier and Type | Method and Description |
|---|---|
void |
addBean(Bean<?> bean)
Registers an extension bean with the BeanManager
|
void |
addContext(Context context)
Registers a context with the BeanManager
|
void |
addDefinitionError(java.lang.Throwable t)
Registers an error with the BeanManager, causing the container to abort
deployment.
|
void |
addObserverMethod(ObserverMethod<?> observerMethod)
Registers an observer method with the BeanManager
|
boolean |
hasDefinitionError() |
java.lang.String |
toString() |
public void addBean(Bean<?> bean)
AfterBeanDiscoveryaddBean in interface AfterBeanDiscoverypublic void addContext(Context context)
AfterBeanDiscoveryaddContext in interface AfterBeanDiscoverypublic void addObserverMethod(ObserverMethod<?> observerMethod)
AfterBeanDiscoveryaddObserverMethod in interface AfterBeanDiscoverypublic void addDefinitionError(java.lang.Throwable t)
AfterBeanDiscoveryaddDefinitionError in interface AfterBeanDiscoveryt - the exception representing the errorpublic boolean hasDefinitionError()
public java.lang.String toString()
toString in class java.lang.Object