org.jboss.weld.bean

Class AbstractProducerBean<X,T,S extends Member>

    • Method Detail

      • getBeanClass

        public Class<?> getBeanClass()
        Description copied from interface: Bean
        The bean class of the managed bean or session bean or of the bean that declares the producer method or field.
        Specified by:
        getBeanClass in interface Bean<T>
        Overrides:
        getBeanClass in class RIBean<T>
        Returns:
        the bean class
      • initType

        protected void initType()
        Initializes the type
      • getInjectionPoints

        public Set<InjectionPoint> getInjectionPoints()
        Description copied from interface: Bean
        Obtains the InjectionPoint objects representing injection points of the bean, that will be validated by the container at initialization time.
        Returns:
        the set of injection points of the bean
      • checkReturnValue

        protected T checkReturnValue(T instance)
        Validates the return value
        Parameters:
        instance - The instance to validate
      • isTypeSerializable

        protected boolean isTypeSerializable(Object instance)
      • create

        public T create(CreationalContext<T> creationalContext)
        Creates an instance of the bean
        Parameters:
        creationalContext - the context in which this instance is being created
        Returns:
        the contextual instance
      • destroy

        public void destroy(T instance,                    CreationalContext<T> creationalContext)
        Description copied from interface: Contextual
        Destroy an instance of the contextual type. Implementations should call CreationalContext.release() to allow the container to destroy dependent objects of the contextual instance.
        Specified by:
        destroy in interface Contextual<T>
        Overrides:
        destroy in class RIBean<T>
        Parameters:
        instance - the contextual instance to destroy
        creationalContext - the context in which this instance was created
      • getDeclaringBean

        public AbstractClassBean<X> getDeclaringBean()
        Returns the declaring bean
        Returns:
        The bean representation

Copyright © 2015. All Rights Reserved.



NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14