Top Description Fields Constructors Methods
org.apache.tomcat.util.descriptor.web

public Class ContextTransaction

extends Object
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Imports
java.io.Serializable, java.util.HashMap, .Iterator, .Map

Representation of an application resource reference, as represented in an <res-env-refy> element in the deployment descriptor.
Author
Craig R. McClanahan

Field Summary

Modifier and TypeField and Description
private final Map<String, Object>
properties

Holder for our configured properties.

private static final long

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Object

Returns:

a configured property.
getProperty
(String
The property name
name
)

public Iterator<String>

Returns:

the property names iterator
listProperties
()

List properties.

public void
removeProperty(String
The property name
name
)

Remove a configured property.

public void
setProperty(String
The property name
name
,
Object
The property value
value
)

Set a configured property.

public String
toString()

Overrides java.lang.Object.toString.

Return a String representation of this object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

propertiesback to summary
private final Map<String, Object> properties

Holder for our configured properties.

serialVersionUIDback to summary
private static final long serialVersionUID

Constructor Detail

ContextTransactionback to summary
public ContextTransaction()

Method Detail

getPropertyback to summary
public Object getProperty(String name)
Parameters
name:String

The property name

Returns:Object

a configured property.

listPropertiesback to summary
public Iterator<String> listProperties()

List properties.

Returns:Iterator<String>

the property names iterator

removePropertyback to summary
public void removeProperty(String name)

Remove a configured property.

Parameters
name:String

The property name

setPropertyback to summary
public void setProperty(String name, Object value)

Set a configured property.

Parameters
name:String

The property name

value:Object

The property value

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Return a String representation of this object.

Returns:String

Doc from java.lang.Object.toString.

a string representation of the object

Annotations
@Override