1 10 11 package org.mule.providers.soap.xfire; 12 13 import org.codehaus.xfire.transport.Session; 14 import org.mule.umo.UMOSession; 15 16 19 public class XFireMuleSession implements Session 20 { 21 UMOSession session; 22 23 public XFireMuleSession(UMOSession session) 24 { 25 if (session == null) 26 { 27 throw new NullPointerException ("UMOSession"); 28 } 29 this.session = session; 30 } 31 32 38 public Object get(Object key) 39 { 40 return session.getProperty(key); 41 } 42 43 49 public void put(Object key, Object value) 50 { 51 session.setProperty(key, value); 52 } 53 } 54 | Popular Tags |