org.jboss.weld.manager.api

Interface WeldManager

    • Method Detail

      • createActivity

        WeldManager createActivity()
        Create a new child activity. A child activity inherits all beans, interceptors, decorators, observers, and contexts defined by its direct and indirect parent activities. This method should not be called by the application.
        Returns:
        the child activity
      • getBean

        <T> Bean<T> getBean(EjbDescriptor<T> descriptor)
        Get the Bean object for the given EJB, or null if Weld was not given this descriptor in the deployment.
        Type Parameters:
        T - the type of the bean
        Parameters:
        descriptor - the given EJB descriptor
        Returns:
        the Bean object for the given EJB
      • getEjbDescriptor

        <T> EjbDescriptor<T> getEjbDescriptor(String ejbName)
        Get the EjbDescriptor for the given EJB name
        Type Parameters:
        T - the type of the EJB
        Parameters:
        ejbName - the given EJB name
        Returns:
        the EjbDescriptor for the given EJB name
      • getServices

        ServiceRegistry getServices()
        Get the services registered for this manager
        Returns:
        the services registered for this manager
      • fireProcessInjectionTarget

        <X> InjectionTarget<X> fireProcessInjectionTarget(AnnotatedType<X> type)
        Fire a ProcessInjectionTarget event for the given type. A helper method to allow integration code to easily fire the ProcessInjectionTarget for Java EE component classes supporting injection The container must use the returned InjectionTarget to inject the Java EE component.
        Type Parameters:
        X - the type
        Parameters:
        type - the type
        Returns:
        final version of InjectionTarget after all observers have been invoked
      • fireProcessInjectionTarget

        <X> InjectionTarget<X> fireProcessInjectionTarget(AnnotatedType<X> annotatedType,                                                  InjectionTarget<X> injectionTarget)
        Fire a ProcessInjectionTarget event for the given type. A helper method to allow integration code to easily fire the ProcessInjectionTarget for Java EE component classes supporting injection The container must use the returned InjectionTarget to inject the Java EE component.
        Type Parameters:
        X - the type
        Parameters:
        annotatedType - the type
        injectionTarget - the injection target
        Returns:
        final version of InjectionTarget after all observers have been invoked
      • getId

        String getId()
        The ID of the manager, identical to the ID provided by the BDA
        Returns:
        the ID of the manager
      • unwrap

        WeldManager unwrap()
        Returns:
        an unwrapped instance (e.g. the delegate in the case of forwarding implementation)

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