public class InjectionTarget extends Object implements Serializable
| Constructor and Description |
|---|
InjectionTarget() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getClassName() |
Field |
getField() |
String |
getFieldName() |
MetadataSource |
getMetadataSource() |
Method |
getMethod() |
String |
getMethodName()
Inject method name is the actual java method name of the setter method,
not the bean property name.
|
String |
getTargetName()
This is the form used by the .xml injection-group elements to
represent the target of injection.
|
int |
hashCode() |
boolean |
isFieldInjectable() |
boolean |
isMethodInjectable() |
void |
setClassName(String className) |
void |
setField(Field field) |
void |
setFieldName(String fieldName) |
void |
setMetadataSource(MetadataSource metadataSource) |
void |
setMethod(Method method) |
void |
setMethodName(String methodName) |
void |
setTargetName(String targetName) |
public boolean isFieldInjectable()
public boolean isMethodInjectable()
public String getClassName()
public void setClassName(String className)
public String getTargetName()
public void setTargetName(String targetName)
public String getFieldName()
public void setFieldName(String fieldName)
public Field getField()
public void setField(Field field)
public String getMethodName()
public void setMethodName(String methodName)
public Method getMethod()
public void setMethod(Method method)
public MetadataSource getMetadataSource()
public void setMetadataSource(MetadataSource metadataSource)
Copyright © 2013. All Rights Reserved.