javax.enterprise.inject.spi
Interface AfterBeanDiscovery

All Known Implementing Classes:
AfterBeanDiscoveryImpl

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

addBean

void addBean(Bean<?> bean)
Registers an extension bean with the BeanManager


addContext

void addContext(Context context)
Registers a context with the BeanManager


addObserverMethod

void addObserverMethod(ObserverMethod<?> observerMethod)
Registers an observer method with the BeanManager


addDefinitionError

void addDefinitionError(java.lang.Throwable t)
Registers an error with the BeanManager, causing the container to abort deployment.

Parameters:
t - the exception representing the error