Class SessionBean<T>

    • Method Detail

      • checkConflictingRoles

        protected void checkConflictingRoles()
        Validates for non-conflicting roles
      • checkScopeAllowed

        protected void checkScopeAllowed()
        Check that the scope type is allowed by the stereotypes on the bean and the bean type
      • create

        public T create(CreationalContext<T> creationalContext)
        Creates an instance of the bean
        creationalContext - the context in which this instance is being created
        The 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>
        destroy in class RIBean<T>
        instance - the contextual instance to destroy
        creationalContext - the context in which this instance was created
      • isClientCanCallRemoveMethods

        public boolean isClientCanCallRemoveMethods()
      • checkObserverMethods

        protected void checkObserverMethods()
        If there are any observer methods, they must be static or business methods.
      • initializeAfterBeanDiscovery

        public void initializeAfterBeanDiscovery()
        Description copied from class: RIBean
        In particular cases, the deployer must perform some initialization operations only after all beans have been deployed (e.g. for initializing decorators taking into account the possibility of having custom decorators which are deployed through portable extensions)
        initializeAfterBeanDiscovery in class AbstractBean<T,Class<T>>
      • registerInterceptors

        protected void registerInterceptors()

Copyright © 2015. All Rights Reserved.

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