Class ContextTransaction
- java.lang.Object
- 
- org.apache.tomcat.util.descriptor.web.ContextTransaction
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 
 public class ContextTransaction extends java.lang.Object implements java.io.SerializableRepresentation of an application resource reference, as represented in an<res-env-refy>element in the deployment descriptor.- Author:
- Craig R. McClanahan
- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description ContextTransaction()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetProperty(java.lang.String name)java.util.Iterator<java.lang.String>listProperties()List properties.voidremoveProperty(java.lang.String name)Remove a configured property.voidsetProperty(java.lang.String name, java.lang.Object value)Set a configured property.java.lang.StringtoString()Return a String representation of this object.
 
- 
- 
- 
Method Detail- 
getPropertypublic java.lang.Object getProperty(java.lang.String name) - Parameters:
- name- The property name
- Returns:
- a configured property.
 
 - 
setPropertypublic void setProperty(java.lang.String name, java.lang.Object value)Set a configured property.- Parameters:
- name- The property name
- value- The property value
 
 - 
removePropertypublic void removeProperty(java.lang.String name) Remove a configured property.- Parameters:
- name- The property name
 
 - 
listPropertiespublic java.util.Iterator<java.lang.String> listProperties() List properties.- Returns:
- the property names iterator
 
 - 
toStringpublic java.lang.String toString() Return a String representation of this object.- Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-