Home » apache-openwebbeans-1.0.0-incubating-M3-sources » org.apache.webbeans.container » [javadoc | source]
org.apache.webbeans.container
public class: BeanManagerImpl [javadoc | source]
java.lang.Object
   org.apache.webbeans.container.BeanManagerImpl

All Implemented Interfaces:
    Referenceable, javax.enterprise.inject.spi.BeanManager

Direct Known Subclasses:
    ChildActivityManager

Implementation of the BeanManager contract of the web beans container.

It is written as thread-safe.

Constructor:
 public BeanManagerImpl() 
Method from org.apache.webbeans.container.BeanManagerImpl Summary:
addBean,   addContext,   addDecorator,   addInterceptor,   createActivity,   createAnnotatedType,   createCreationalContext,   createInjectionTarget,   fireEvent,   getBeans,   getBeans,   getBeans,   getComponents,   getContext,   getDecorators,   getELResolver,   getInjectableReference,   getInjectionResolver,   getInstance,   getInstanceByName,   getInstanceByType,   getInstanceByType,   getInstanceToInject,   getInstanceToInject,   getInterceptorBindingDefinition,   getInterceptors,   getManager,   getMostSpecializedBean,   getNotificationManager,   getParent,   getPassivationCapableBean,   getReference,   getReference,   getStereotypeDefinition,   isInterceptorBinding,   isNormalScope,   isPassivatingScope,   isQualifier,   isScope,   isStereotype,   parse,   resolve,   resolveByName,   resolveByType,   resolveByType,   resolveDecorators,   resolveInterceptors,   resolveObserverMethods,   resolveObservers,   setCurrent,   setParent,   setXMLConfigurator,   validate
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.webbeans.container.BeanManagerImpl Detail:
 public BeanManager addBean(Bean<?> component) 
    Add new webbeans component to the activity.
 public BeanManager addContext(Context context) 
 public BeanManager addDecorator(Decorator decorator) 
 public BeanManager addInterceptor(Interceptor interceptor) 
 public BeanManager createActivity() 
    Create a new ChildActivityManager.
 public AnnotatedType<T> createAnnotatedType(Class<T> type) 
    {@inheritDoc}
 public CreationalContext<T> createCreationalContext(Contextual<T> contextual) 
    {@inheritDoc}
 public InjectionTarget<T> createInjectionTarget(AnnotatedType<T> type) 
    {@inheritDoc}
 public  void fireEvent(Object event,
    Annotation bindings) 
    {@inheritDoc}
 public Set<?> getBeans() 
 public Set<?> getBeans(String name) 
 public Set<?> getBeans(Type beanType,
    Annotation bindings) 
    {@inheritDoc}
 public Set<?> getComponents() 
 public Context getContext(Class<Annotation> scopeType) 
    Gets the active context for the given scope type.
 public Set<?> getDecorators() 
 public ELResolver getELResolver() 
 public Object getInjectableReference(InjectionPoint injectionPoint,
    CreationalContext<?> context) 
    {@inheritDoc}
 public InjectionResolver getInjectionResolver() 
    Gets injection resolver.
 public T getInstance(Bean<T> bean) 
 public Object getInstanceByName(String name) 
 public T getInstanceByType(Class<T> type,
    Annotation bindingTypes) 
 public T getInstanceByType(TypeLiteral<T> type,
    Annotation bindingTypes) 
 public Object getInstanceToInject(InjectionPoint injectionPoint) 
 public T getInstanceToInject(InjectionPoint injectionPoint,
    CreationalContext<?> context) 
 public Set<Annotation> getInterceptorBindingDefinition(Class<Annotation> binding) 
    {@inheritDoc}
 public Set<?> getInterceptors() 
 public static BeanManagerImpl getManager() 
    Gets current activity.
 public Bean<? extends X> getMostSpecializedBean(Bean<X> bean) 
 public NotificationManager getNotificationManager() 
    Return manager notification manager.
 public BeanManagerImpl getParent() 
 public Bean<?> getPassivationCapableBean(String id) 
 public Reference getReference() throws NamingException 
 public Object getReference(Bean<?> bean,
    Type beanType,
    CreationalContext<?> ctx) 
    {@inheritDoc}
 public Set<Annotation> getStereotypeDefinition(Class<Annotation> stereotype) 
 public boolean isInterceptorBinding(Class<Annotation> annotationType) 
 public boolean isNormalScope(Class<Annotation> annotationType) 
 public boolean isPassivatingScope(Class<Annotation> annotationType) 
 public boolean isQualifier(Class<Annotation> annotationType) 
 public boolean isScope(Class<Annotation> annotationType) 
 public boolean isStereotype(Class<Annotation> annotationType) 
 public BeanManager parse(InputStream xmlStream) 
    Parse the given XML input stream for adding XML defined artifacts.
 public Bean<? extends X> resolve(Set<? extends X> beans) 
 public Set<?> resolveByName(String name) 
 public Set<?> resolveByType(Class<?> apiType,
    Annotation bindingTypes) 
 public Set<?> resolveByType(TypeLiteral<?> apiType,
    Annotation bindingTypes) 
 public List<?> resolveDecorators(Set<Type> types,
    Annotation bindingTypes) 
    {@inheritDoc}
 public List<?> resolveInterceptors(InterceptionType type,
    Annotation interceptorBindings) 
    {@inheritDoc}
 public Set<?, T> resolveObserverMethods(T event,
    Annotation bindings) 
    {@inheritDoc}
 public Set<T> resolveObservers(T event,
    Annotation bindings) 
    {@inheritDoc}
 public BeanManager setCurrent(Class<Annotation> scopeType) 
    Set the activity for the given scope type.
 public synchronized  void setParent(BeanManagerImpl parent) 
 public synchronized  void setXMLConfigurator(WebBeansXMLConfigurator xmlConfigurator) 
    Sets the xml configurator instance.
 public  void validate(InjectionPoint injectionPoint) 
    {@inheritDoc}