Class LifecycleCallbackType
java.lang.Object
com.sun.xml.ws.config.metro.parser.jsr109.LifecycleCallbackType
- All Implemented Interfaces:
Locatable
The lifecycle-callback type specifies a method on a
class to be called when a lifecycle event occurs.
Note that each class may have only one lifecycle callback
method for any given event and that the method may not
be overloaded.
If the lifefycle-callback-class element is missing then
the class defining the callback is assumed to be the
component class in scope at the place in the descriptor
in which the callback definition appears.
Java class for lifecycle-callbackType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="lifecycle-callbackType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="lifecycle-callback-class" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType" minOccurs="0"/>
<element name="lifecycle-callback-method" type="{http://java.sun.com/xml/ns/javaee}java-identifierType"/>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected FullyQualifiedClassTypeprotected JavaIdentifierTypeprotected Locator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the lifecycleCallbackClass property.Gets the value of the lifecycleCallbackMethod property.voidSets the value of the lifecycleCallbackClass property.voidSets the value of the lifecycleCallbackMethod property.voidsetSourceLocation(Locator newLocator)
-
Field Details
-
lifecycleCallbackClass
-
lifecycleCallbackMethod
-
locator
-
-
Constructor Details
-
LifecycleCallbackType
public LifecycleCallbackType()
-
-
Method Details
-
getLifecycleCallbackClass
Gets the value of the lifecycleCallbackClass property.- Returns:
- possible object is
FullyQualifiedClassType
-
setLifecycleCallbackClass
Sets the value of the lifecycleCallbackClass property.- Parameters:
value- allowed object isFullyQualifiedClassType
-
getLifecycleCallbackMethod
Gets the value of the lifecycleCallbackMethod property.- Returns:
- possible object is
JavaIdentifierType
-
setLifecycleCallbackMethod
Sets the value of the lifecycleCallbackMethod property.- Parameters:
value- allowed object isJavaIdentifierType
-
sourceLocation
- Specified by:
sourceLocationin interfaceLocatable- Returns:
- null if the location information is unavaiable,
or otherwise return a immutable valid
Locatorobject.
-
setSourceLocation
-