org.apache.axis2.storage.impl
Class AxisMemoryStorage

java.lang.Object
  extended byorg.apache.axis2.storage.impl.AbstractStorage
      extended byorg.apache.axis2.storage.impl.AxisMemoryStorage
All Implemented Interfaces:
AxisStorage, ParameterInclude

public class AxisMemoryStorage
extends AbstractStorage


Constructor Summary
AxisMemoryStorage()
           
 
Method Summary
 void addParameter(Parameter param)
          Method addParameter
 boolean clean()
          Cleans the whole storage.
 java.lang.Object get(java.lang.Object key)
          get a value from the storage.
 Parameter getParameter(java.lang.String name)
          Method getParameter
 java.util.ArrayList getParameters()
          To get all the parameters in a given description
 boolean isParamterLocked(java.lang.String paramterName)
           
 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 class org.apache.axis2.storage.impl.AbstractStorage
getUniqueKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AxisMemoryStorage

public AxisMemoryStorage()
Method Detail

put

public java.lang.Object put(java.lang.Object value)
Description copied from interface: AxisStorage
puts a value to the storage

Parameters:
value -
Returns:
the key as an Object

get

public java.lang.Object get(java.lang.Object key)
Description copied from interface: AxisStorage
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)
Description copied from interface: AxisStorage
Removes an object from the storage given the key.

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

clean

public boolean clean()
Description copied from interface: AxisStorage
Cleans the whole storage.

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

addParameter

public void addParameter(Parameter param)
                  throws AxisFault
Description copied from interface: ParameterInclude
Method addParameter

Parameters:
param -
Throws:
AxisFault

getParameter

public Parameter getParameter(java.lang.String name)
Description copied from interface: ParameterInclude
Method getParameter

Parameters:
name -
Returns:

getParameters

public java.util.ArrayList getParameters()
Description copied from interface: ParameterInclude
To get all the parameters in a given description

Returns:

isParamterLocked

public boolean isParamterLocked(java.lang.String paramterName)