View Javadoc

1   package org.codehaus.xfire.session;
2   
3   /***
4    * Session
5    * 
6    * @author <a href="mailto:dan@envoisolutions.com">Dan Diephouse</a>
7    */
8   public interface Session
9   {
10      /***
11       * Get a variable from the session by the key.
12       * 
13       * @param key
14       * @return
15       */
16      Object get( Object key );
17      
18      /***
19       * Put a variable into the session with a key.
20       * 
21       * @param key
22       * @param value
23       */
24      void put( Object key, Object value );
25  }