Class FieldInjectionTarget

    • Constructor Detail

      • FieldInjectionTarget

        public FieldInjectionTarget​(String className,
                                    String name,
                                    String fieldType)
        Parameters:
        className -
        name -
        fieldType -
    • Method Detail

      • isStatic

        public boolean isStatic​(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
                         throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
        Description copied from class: InjectionTarget
        Indicates if the target has the staic modifier.
        Specified by:
        isStatic in class InjectionTarget
        Parameters:
        deploymentUnit - the deployment unit
        Returns:
        true
        Throws:
        org.jboss.as.server.deployment.DeploymentUnitProcessingException - if an error occurs
      • createInjectionInterceptorFactory

        public org.jboss.invocation.InterceptorFactory createInjectionInterceptorFactory​(Object targetContextKey,
                                                                                         Object valueContextKey,
                                                                                         org.jboss.msc.value.Value<ManagedReferenceFactory> factoryValue,
                                                                                         org.jboss.as.server.deployment.DeploymentUnit deploymentUnit,
                                                                                         boolean optional)
                                                                                  throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
        Description copied from class: InjectionTarget
        Get an interceptor factory which will carry out injection into this target.
        Specified by:
        createInjectionInterceptorFactory in class InjectionTarget
        Parameters:
        targetContextKey - the interceptor context key for the target
        valueContextKey - the interceptor context key for the value
        factoryValue - the value to inject
        deploymentUnit - the deployment unit
        optional - If this is an optional injection
        Returns:
        the interceptor factory
        Throws:
        org.jboss.as.server.deployment.DeploymentUnitProcessingException - if an error occurs