1 28 29 package com.caucho.ejb.session; 30 31 import com.caucho.naming.ObjectProxy; 32 33 import javax.naming.NamingException ; 34 import java.util.Hashtable ; 35 36 39 public class StatefulJndiFactory implements ObjectProxy { 40 private SessionServer _server; 41 42 StatefulJndiFactory(SessionServer server) 43 { 44 _server = server; 45 } 46 47 52 public Object createObject(Hashtable env) 53 throws NamingException  54 { 55 return _server.newInstance(); 56 } 57 } 58 | Popular Tags |