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,
org.jboss.as.server.deployment.DeploymentUnit deploymentUnit,
boolean optional)
Get an interceptor factory which will carry out injection into this target.
|
Method |
getMethod(org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex reflectionIndex,
Class<?> clazz) |
Method |
getMethod(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit) |
boolean |
isStatic(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
Indicates if the target has the staic modifier.
|
equals, getClassName, getDeclaredValueClassName, getName, hashCode, toStringpublic boolean isStatic(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit)
throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
InjectionTargetisStatic in class InjectionTargetdeploymentUnit - 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
InjectionTargetcreateInjectionInterceptorFactory in class InjectionTargettargetContextKey - 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 Method getMethod(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit) throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
org.jboss.as.server.deployment.DeploymentUnitProcessingExceptionCopyright © 2019 JBoss by Red Hat. All rights reserved.