public final class MethodInjectionTarget extends InjectionTarget
Constructor and Description |
---|
MethodInjectionTarget(String className,
String name,
String paramType) |
Modifier and Type | Method and Description |
---|---|
org.jboss.invocation.InterceptorFactory |
createInjectionInterceptorFactory(Object targetContextKey,
Object valueContextKey,
org.jboss.msc.value.Value<ManagedReferenceFactory> factoryValue,
DeploymentUnit deploymentUnit,
boolean optional)
Get an interceptor factory which will carry out injection into this target.
|
Method |
getMethod(DeploymentReflectionIndex reflectionIndex,
Class<?> clazz) |
Method |
getMethod(DeploymentUnit deploymentUnit) |
boolean |
isStatic(DeploymentUnit deploymentUnit)
Indicates if the target has the staic modifier.
|
equals, getClassName, getDeclaredValueClassName, getName, hashCode, toString
public boolean isStatic(DeploymentUnit deploymentUnit) throws DeploymentUnitProcessingException
InjectionTarget
isStatic
in class InjectionTarget
deploymentUnit
- the deployment unitDeploymentUnitProcessingException
- if an error occurspublic org.jboss.invocation.InterceptorFactory createInjectionInterceptorFactory(Object targetContextKey, Object valueContextKey, org.jboss.msc.value.Value<ManagedReferenceFactory> factoryValue, DeploymentUnit deploymentUnit, boolean optional) throws 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 injectionDeploymentUnitProcessingException
- if an error occurspublic Method getMethod(DeploymentUnit deploymentUnit) throws DeploymentUnitProcessingException
public Method getMethod(DeploymentReflectionIndex reflectionIndex, Class<?> clazz) throws DeploymentUnitProcessingException
Copyright © 2014 JBoss by Red Hat. All rights reserved.