org.objectweb.easybeans.deployment.xml.struct.common
Class InjectionTarget

java.lang.Object
  extended by org.objectweb.easybeans.deployment.xml.struct.common.InjectionTarget

public class InjectionTarget
extends java.lang.Object

Class representing the injection-target element.

Author:
Florent Benoit

Field Summary
private  java.lang.String classname
          Name of the class where to inject the value.
private  java.lang.String targetName
          Name of the attribute.
 
Constructor Summary
InjectionTarget()
           
 
Method Summary
 java.lang.String getClassname()
           
 java.lang.String getTargetName()
           
 void setClassname(java.lang.String classname)
          Sets the name of the class.
 void setTargetName(java.lang.String targetName)
          Sets the name of the attribute/target of the injection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

classname

private java.lang.String classname
Name of the class where to inject the value.


targetName

private java.lang.String targetName
Name of the attribute. (for the injection)

Constructor Detail

InjectionTarget

public InjectionTarget()
Method Detail

getClassname

public java.lang.String getClassname()
Returns:
the name of the class where injection should occurs.

setClassname

public void setClassname(java.lang.String classname)
Sets the name of the class.

Parameters:
classname - the name of the class.

getTargetName

public java.lang.String getTargetName()
Returns:
the name of the target (attribute)

setTargetName

public void setTargetName(java.lang.String targetName)
Sets the name of the attribute/target of the injection.

Parameters:
targetName - the name of the attribute