org.apache.openejb.jee
Class InjectionTarget

java.lang.Object
  extended by org.apache.openejb.jee.InjectionTarget

public class InjectionTarget
extends Object

An injection target specifies a class and a name within that class into which a resource should be injected.

The injection target class specifies the fully qualified class name that is the target of the injection. The Java EE specifications describe which classes can be an injection target.

The injection target name specifies the target within the specified class. The target is first looked for as a JavaBeans property name. If not found, the target is looked for as a field name.

The specified resource will be injected into the target during initialization of the class by either calling the set method for the target property or by setting a value into the named field.


Field Summary
protected  String injectionTargetClass
           
protected  String injectionTargetName
           
 
Constructor Summary
InjectionTarget()
           
InjectionTarget(String injectionTargetClass, String injectionTargetName)
           
 
Method Summary
 String getInjectionTargetClass()
           
 String getInjectionTargetName()
           
 void setInjectionTargetClass(String value)
           
 void setInjectionTargetName(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

injectionTargetClass

protected String injectionTargetClass

injectionTargetName

protected String injectionTargetName
Constructor Detail

InjectionTarget

public InjectionTarget()

InjectionTarget

public InjectionTarget(String injectionTargetClass,
                       String injectionTargetName)
Method Detail

getInjectionTargetClass

public String getInjectionTargetClass()

setInjectionTargetClass

public void setInjectionTargetClass(String value)

getInjectionTargetName

public String getInjectionTargetName()

setInjectionTargetName

public void setInjectionTargetName(String value)


Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.