org.codehaus.xfire.transport
Class MapSession

java.lang.Object
  extended byorg.codehaus.xfire.transport.MapSession
All Implemented Interfaces:
Session

public class MapSession
extends java.lang.Object
implements Session

A simple Session implementation backed by an unsyncrhonized map.

Author:
peter royal

Constructor Summary
MapSession()
           
 
Method Summary
 java.lang.Object get(java.lang.Object key)
          Get a variable from the session by the key.
 void put(java.lang.Object key, java.lang.Object value)
          Put a variable into the session with a key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapSession

public MapSession()
Method Detail

get

public java.lang.Object get(java.lang.Object key)
Description copied from interface: Session
Get a variable from the session by the key.

Specified by:
get in interface Session
Parameters:
key -
Returns:
Value

put

public void put(java.lang.Object key,
                java.lang.Object value)
Description copied from interface: Session
Put a variable into the session with a key.

Specified by:
put in interface Session
Parameters:
key -
value -


Copyright © 2004-2006 null. All Rights Reserved.