@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)
AfterBeanDiscovery
addBean
in interface AfterBeanDiscovery
public void addContext(Context context)
AfterBeanDiscovery
addContext
in interface AfterBeanDiscovery
public void addObserverMethod(ObserverMethod<?> observerMethod)
AfterBeanDiscovery
addObserverMethod
in interface AfterBeanDiscovery
public void addDefinitionError(java.lang.Throwable t)
AfterBeanDiscovery
addDefinitionError
in interface AfterBeanDiscovery
t
- the exception representing the errorpublic boolean hasDefinitionError()
public java.lang.String toString()
toString
in class java.lang.Object