org.apache.axis2.storage
Interface AxisStorage

All Superinterfaces:
ParameterInclude
All Known Implementing Classes:
AbstractStorage

public interface AxisStorage
extends ParameterInclude


Method Summary
 boolean clean()
          Cleans the whole storage.
 java.lang.Object get(java.lang.Object key)
          get a value from the storage.
 java.lang.Object put(java.lang.Object value)
          puts a value to the storage
 java.lang.Object remove(java.lang.Object key)
          Removes an object from the storage given the key.
 
Methods inherited from interface org.apache.axis2.description.ParameterInclude
addParameter, getParameter, getParameters, isParamterLocked
 

Method Detail

put

public java.lang.Object put(java.lang.Object value)
puts a value to the storage

Parameters:
value -
Returns:
the key as an Object

get

public java.lang.Object get(java.lang.Object key)
get a value from the storage. The value is not removed

Parameters:
key -
Returns:
the value as an Object

remove

public java.lang.Object remove(java.lang.Object key)
Removes an object from the storage given the key.

Parameters:
key -
Returns:
the value being removed as an object

clean

public boolean clean()
Cleans the whole storage.

Returns:
a boolean saying whether the clean was successful or not