public final class FieldInjectionTarget extends InjectionTarget
Constructor and Description |
---|
FieldInjectionTarget(String className,
String name,
String fieldType) |
Modifier and Type | Method and Description |
---|---|
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)
Get an interceptor factory which will carry out injection into this target.
|
boolean |
isStatic(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
Indicates if the target has the staic modifier.
|
equals, getClassName, getDeclaredValueClassName, getName, hashCode, toString
public boolean isStatic(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit) throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
InjectionTarget
isStatic
in class InjectionTarget
deploymentUnit
- the deployment unitorg.jboss.as.server.deployment.DeploymentUnitProcessingException
- if an error occurspublic 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
InjectionTarget
createInjectionInterceptorFactory
in class InjectionTarget
targetContextKey
- the interceptor context key for the targetvalueContextKey
- the interceptor context key for the valuefactoryValue
- the value to injectdeploymentUnit
- the deployment unitoptional
- If this is an optional injectionorg.jboss.as.server.deployment.DeploymentUnitProcessingException
- if an error occursCopyright © 2018 JBoss by Red Hat. All rights reserved.