Class ContextTransaction
java.lang.Object
org.apache.tomcat.util.descriptor.web.ContextTransaction
- All Implemented Interfaces:
Serializable
Representation of an application resource reference, as represented in
an
<res-env-refy>
element in the deployment descriptor.- Author:
- Craig R. McClanahan
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetProperty
(String name) List properties.void
removeProperty
(String name) Remove a configured property.void
setProperty
(String name, Object value) Set a configured property.toString()
Return a String representation of this object.
-
Constructor Details
-
ContextTransaction
public ContextTransaction()
-
-
Method Details
-
getProperty
- Parameters:
name
- The property name- Returns:
- a configured property.
-
setProperty
Set a configured property.- Parameters:
name
- The property namevalue
- The property value
-
removeProperty
Remove a configured property.- Parameters:
name
- The property name
-
listProperties
List properties.- Returns:
- the property names iterator
-
toString
Return a String representation of this object.
-