Class AbstractComponentConfigurator


  • public class AbstractComponentConfigurator
    extends Object
    Author:
    Stuart Douglas
    • Constructor Detail

      • AbstractComponentConfigurator

        public AbstractComponentConfigurator()
    • Method Detail

      • weaved

        @Deprecated
        protected static org.jboss.invocation.InterceptorFactory weaved​(Collection<org.jboss.invocation.InterceptorFactory> interceptorFactories)
        Deprecated.
        The weaved interceptor factory results in a lot of runtime allocations, and should not be used
        Parameters:
        interceptorFactories - The interceptor factories
        Returns:
      • mergeInjectionsForClass

        protected void mergeInjectionsForClass​(Class<?> clazz,
                                               Class<?> actualClass,
                                               EEModuleClassDescription classDescription,
                                               EEModuleDescription moduleDescription,
                                               org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex deploymentReflectionIndex,
                                               ComponentDescription description,
                                               ComponentConfiguration configuration,
                                               org.jboss.as.server.deployment.DeploymentPhaseContext context,
                                               Deque<org.jboss.invocation.InterceptorFactory> injectors,
                                               Object instanceKey,
                                               Deque<org.jboss.invocation.InterceptorFactory> uninjectors,
                                               boolean metadataComplete)
                                        throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
        Sets up all resource injections for a class. This takes into account injections that have been specified in the module and component deployment descriptors

        Note that this does not take superclasses into consideration, only injections on the current class

        Parameters:
        clazz - The class or superclass to perform injection for
        actualClass - The actual component or interceptor class
        classDescription - The class description, may be null
        moduleDescription - The module description
        description - The component description
        configuration - The component configuration
        context - The phase context
        injectors - The list of injectors for the current component
        instanceKey - The key that identifies the instance to inject in the interceptor context
        uninjectors - The list of uninjections for the current component
        Throws:
        org.jboss.as.server.deployment.DeploymentUnitProcessingException
      • isNotOverriden

        protected boolean isNotOverriden​(Class<?> clazz,
                                         Method method,
                                         Class<?> actualClass,
                                         org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex deploymentReflectionIndex)
                                  throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
        Throws:
        org.jboss.as.server.deployment.DeploymentUnitProcessingException