Class ContextTransaction
java.lang.Object
org.apache.tomcat.util.descriptor.web.ContextTransaction
- All Implemented Interfaces:
Serializable
Representation of a
<Transaction> element in a context configuration file. The configured
properties are applied to the java:comp/UserTransaction JNDI binding.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetProperty(String name) Get a configured property.List properties.voidremoveProperty(String name) Remove a configured property.voidsetProperty(String name, Object value) Set a configured property.toString()Return a String representation of this object.
-
Constructor Details
-
ContextTransaction
public ContextTransaction()Default constructor.
-
-
Method Details
-
getProperty
Get a configured property.- Parameters:
name- The property name- Returns:
- The configured property value
-
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.
-