|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AfterBeanDiscovery
Framework callback after all bean discovery
public class MyExtension implements Extension
{
public void afterBeanDiscovery(@Observes AfterBeanDiscovery event)
{
...
}
}
Method Summary | |
---|---|
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 |
Method Detail |
---|
void addBean(Bean<?> bean)
void addContext(Context context)
void addObserverMethod(ObserverMethod<?> observerMethod)
void addDefinitionError(java.lang.Throwable t)
t
- the exception representing the error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |