public interface AfterBeanDiscovery
public class MyExtension implements Extension
{
public void afterBeanDiscovery(@Observes AfterBeanDiscovery event)
{
...
}
}
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
|
void addBean(Bean<?> bean)
void addContext(Context context)
void addObserverMethod(ObserverMethod<?> observerMethod)
void addDefinitionError(java.lang.Throwable t)
t
- the exception representing the error