|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.ws.config.metro.parser.jsr109.InjectionTargetType
public class InjectionTargetType
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.
Java class for injection-targetType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="injection-targetType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="injection-target-class" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType"/>
<element name="injection-target-name" type="{http://java.sun.com/xml/ns/javaee}java-identifierType"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected FullyQualifiedClassType |
injectionTargetClass
|
protected JavaIdentifierType |
injectionTargetName
|
protected Locator |
locator
|
| Constructor Summary | |
|---|---|
InjectionTargetType()
|
|
| Method Summary | |
|---|---|
FullyQualifiedClassType |
getInjectionTargetClass()
Gets the value of the injectionTargetClass property. |
JavaIdentifierType |
getInjectionTargetName()
Gets the value of the injectionTargetName property. |
void |
setInjectionTargetClass(FullyQualifiedClassType value)
Sets the value of the injectionTargetClass property. |
void |
setInjectionTargetName(JavaIdentifierType value)
Sets the value of the injectionTargetName property. |
void |
setSourceLocation(Locator newLocator)
|
Locator |
sourceLocation()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected FullyQualifiedClassType injectionTargetClass
protected JavaIdentifierType injectionTargetName
protected Locator locator
| Constructor Detail |
|---|
public InjectionTargetType()
| Method Detail |
|---|
public FullyQualifiedClassType getInjectionTargetClass()
FullyQualifiedClassTypepublic void setInjectionTargetClass(FullyQualifiedClassType value)
value - allowed object is
FullyQualifiedClassTypepublic JavaIdentifierType getInjectionTargetName()
JavaIdentifierTypepublic void setInjectionTargetName(JavaIdentifierType value)
value - allowed object is
JavaIdentifierTypepublic Locator sourceLocation()
sourceLocation in interface LocatableLocator
object.public void setSourceLocation(Locator newLocator)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||