public abstract class InjectionTarget extends Object
Modifier | Constructor and Description |
---|---|
protected |
InjectionTarget(String className,
String name,
String declaredValueClassName) |
Modifier and Type | Method and Description |
---|---|
abstract 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 |
equals(Object o) |
String |
getClassName()
Get the name of the target class.
|
String |
getDeclaredValueClassName()
Get the class name of the field or the parameter type declared for the target method.
|
String |
getName()
Get the name of the target property.
|
int |
hashCode() |
abstract boolean |
isStatic(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
Indicates if the target has the staic modifier.
|
String |
toString() |
public String getName()
public String getClassName()
public String getDeclaredValueClassName()
public abstract 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
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 occurspublic abstract boolean isStatic(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit) throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
deploymentUnit
- the deployment unitorg.jboss.as.server.deployment.DeploymentUnitProcessingException
- if an error occursCopyright © 2018 JBoss by Red Hat. All rights reserved.