com.caucho.config.extension
Class AfterBeanDiscoveryImpl

java.lang.Object
  extended by com.caucho.config.extension.AfterBeanDiscoveryImpl
All Implemented Interfaces:
AfterBeanDiscovery

@Module
public class AfterBeanDiscoveryImpl
extends java.lang.Object
implements AfterBeanDiscovery


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
 boolean hasDefinitionError()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

addBean

public void addBean(Bean<?> bean)
Description copied from interface: AfterBeanDiscovery
Registers an extension bean with the BeanManager

Specified by:
addBean in interface AfterBeanDiscovery

addContext

public void addContext(Context context)
Description copied from interface: AfterBeanDiscovery
Registers a context with the BeanManager

Specified by:
addContext in interface AfterBeanDiscovery

addObserverMethod

public void addObserverMethod(ObserverMethod<?> observerMethod)
Description copied from interface: AfterBeanDiscovery
Registers an observer method with the BeanManager

Specified by:
addObserverMethod in interface AfterBeanDiscovery

addDefinitionError

public void addDefinitionError(java.lang.Throwable t)
Description copied from interface: AfterBeanDiscovery
Registers an error with the BeanManager, causing the container to abort deployment.

Specified by:
addDefinitionError in interface AfterBeanDiscovery
Parameters:
t - the exception representing the error

hasDefinitionError

public boolean hasDefinitionError()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object