org.apache.openejb.jee
Class InjectionTarget
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
injectionTargetClass
protected String injectionTargetClass
injectionTargetName
protected String injectionTargetName
InjectionTarget
public InjectionTarget()
InjectionTarget
public InjectionTarget(String injectionTargetClass,
String injectionTargetName)
getInjectionTargetClass
public String getInjectionTargetClass()
setInjectionTargetClass
public void setInjectionTargetClass(String value)
getInjectionTargetName
public String getInjectionTargetName()
setInjectionTargetName
public void setInjectionTargetName(String value)
Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.