Package org.jboss.as.ee.component
Class AbstractComponentConfigurator
- java.lang.Object
-
- org.jboss.as.ee.component.AbstractComponentConfigurator
-
public class AbstractComponentConfigurator extends Object
- Author:
- Stuart Douglas
-
-
Constructor Summary
Constructors Constructor Description AbstractComponentConfigurator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected boolean
isNotOverriden(Class<?> clazz, Method method, Class<?> actualClass, org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex deploymentReflectionIndex)
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)
Sets up all resource injections for a class.protected static org.jboss.invocation.InterceptorFactory
weaved(Collection<org.jboss.invocation.InterceptorFactory> interceptorFactories)
Deprecated.
-
-
-
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 foractualClass
- The actual component or interceptor classclassDescription
- The class description, may be nullmoduleDescription
- The module descriptiondescription
- The component descriptionconfiguration
- The component configurationcontext
- The phase contextinjectors
- The list of injectors for the current componentinstanceKey
- The key that identifies the instance to inject in the interceptor contextuninjectors
- 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
-
-