|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.shrinkwrap.descriptor.impl.javaee6.InjectionTargetTypeImpl<T>
public class InjectionTargetTypeImpl<T>
This class implements the injection-targetType xsd type
Original Documentation:
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.
| Constructor Summary | |
|---|---|
InjectionTargetTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
|
|
InjectionTargetTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node,
org.jboss.shrinkwrap.descriptor.spi.Node childNode)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getInjectionTargetClass()
Returns the injection-target-class element |
java.lang.String |
getInjectionTargetName()
Returns the injection-target-name element |
InjectionTargetType<T> |
removeInjectionTargetClass()
Removes the injection-target-class element |
InjectionTargetType<T> |
removeInjectionTargetName()
Removes the injection-target-name element |
InjectionTargetType<T> |
setInjectionTargetClass(java.lang.String injectionTargetClass)
If not already created, a new injection-target-class element with the given value will be created. |
InjectionTargetType<T> |
setInjectionTargetName(java.lang.String injectionTargetName)
If not already created, a new injection-target-name element with the given value will be created. |
T |
up()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InjectionTargetTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
public InjectionTargetTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node,
org.jboss.shrinkwrap.descriptor.spi.Node childNode)
| Method Detail |
|---|
public T up()
up in interface org.jboss.shrinkwrap.descriptor.api.Child<T>public InjectionTargetType<T> setInjectionTargetClass(java.lang.String injectionTargetClass)
injection-target-class element with the given value will be created.
Otherwise, the existing injection-target-class element will be updated with the given value.
setInjectionTargetClass in interface InjectionTargetType<T>InjectionTargetTypepublic InjectionTargetType<T> removeInjectionTargetClass()
injection-target-class element
removeInjectionTargetClass in interface InjectionTargetType<T>InjectionTargetTypepublic java.lang.String getInjectionTargetClass()
injection-target-class element
getInjectionTargetClass in interface InjectionTargetType<T>injection-target-classpublic InjectionTargetType<T> setInjectionTargetName(java.lang.String injectionTargetName)
injection-target-name element with the given value will be created.
Otherwise, the existing injection-target-name element will be updated with the given value.
setInjectionTargetName in interface InjectionTargetType<T>InjectionTargetTypepublic InjectionTargetType<T> removeInjectionTargetName()
injection-target-name element
removeInjectionTargetName in interface InjectionTargetType<T>InjectionTargetTypepublic java.lang.String getInjectionTargetName()
injection-target-name element
getInjectionTargetName in interface InjectionTargetType<T>injection-target-name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||