com.caucho.config.inject
Class WebComponent

java.lang.Object
  extended by com.caucho.config.inject.WebComponent

@Module
public class WebComponent
extends java.lang.Object

Configuration for the cdi bean component.


Constructor Summary
WebComponent(InjectManager beanManager, java.lang.String className)
           
 
Method Summary
 void addComponent(BaseType type, Annotated annotated, Bean<?> bean)
           
 void createProgram(java.util.ArrayList<ConfigProgram> initList, java.lang.reflect.Field field, java.util.ArrayList<java.lang.annotation.Annotation> bindList)
           
 java.util.ArrayList<Bean<?>> getBeanList()
           
 java.util.ArrayList<Bean<?>> getEnabledBeanList()
           
 java.util.Set<Bean<?>> resolve(BaseType type, java.lang.annotation.Annotation[] qualifiers)
           
 java.util.Set<Bean<?>> resolve(java.lang.reflect.Type type, java.lang.annotation.Annotation[] bindings)
           
 void resolveSpecializes()
           
 java.lang.String toString()
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WebComponent

public WebComponent(InjectManager beanManager,
                    java.lang.String className)
Method Detail

addComponent

public void addComponent(BaseType type,
                         Annotated annotated,
                         Bean<?> bean)

resolveSpecializes

public void resolveSpecializes()

createProgram

public void createProgram(java.util.ArrayList<ConfigProgram> initList,
                          java.lang.reflect.Field field,
                          java.util.ArrayList<java.lang.annotation.Annotation> bindList)
                   throws ConfigException
Throws:
ConfigException

resolve

public java.util.Set<Bean<?>> resolve(java.lang.reflect.Type type,
                                      java.lang.annotation.Annotation[] bindings)

resolve

public java.util.Set<Bean<?>> resolve(BaseType type,
                                      java.lang.annotation.Annotation[] qualifiers)

getBeanList

public java.util.ArrayList<Bean<?>> getBeanList()

getEnabledBeanList

public java.util.ArrayList<Bean<?>> getEnabledBeanList()

validate

public void validate()

toString

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