33 import java.io.Serializable;
34 import java.util.Hashtable;
35
36 import org.omg.CORBA.Policy;
37 import org.omg.CORBA.LocalObject;
38
39 import org.omg.PortableServer.POA;
40 import org.omg.PortableServer.Servant;
41 import org.omg.PortableServer.ForwardRequest;
42 import org.omg.PortableServer.ServantLocator;
43 import org.omg.PortableServer.LifespanPolicyValue;
44 import org.omg.PortableServer.RequestProcessingPolicyValue;
45 import org.omg.PortableServer.IdAssignmentPolicyValue;
46 import org.omg.PortableServer.ServantRetentionPolicyValue;
47 import org.omg.PortableServer.ServantLocatorPackage.CookieHolder;
48
49 import com.sun.corba.se.spi.orb.ORB;
50
51 /**
52 * @author Rohit Garg
53 * @since JDK1.2
54 */
55
56 public class ServantManagerImpl extends org.omg.CORBA.LocalObject implements ServantLocator
57 {
58
59 // computed using serialver tool
60
61 private static final long serialVersionUID = 4028710359865748280L;
62 private ORB orb;
63
64 private NameService theNameService;
65
66 private File logDir;
67
68 private Hashtable contexts;
69
70 private CounterDB counterDb;
71
72 private int counter;
73
|
33 import java.io.Serializable;
34 import java.util.Hashtable;
35
36 import org.omg.CORBA.Policy;
37 import org.omg.CORBA.LocalObject;
38
39 import org.omg.PortableServer.POA;
40 import org.omg.PortableServer.Servant;
41 import org.omg.PortableServer.ForwardRequest;
42 import org.omg.PortableServer.ServantLocator;
43 import org.omg.PortableServer.LifespanPolicyValue;
44 import org.omg.PortableServer.RequestProcessingPolicyValue;
45 import org.omg.PortableServer.IdAssignmentPolicyValue;
46 import org.omg.PortableServer.ServantRetentionPolicyValue;
47 import org.omg.PortableServer.ServantLocatorPackage.CookieHolder;
48
49 import com.sun.corba.se.spi.orb.ORB;
50
51 /**
52 * @author Rohit Garg
53 * @since 1.2
54 */
55
56 public class ServantManagerImpl extends org.omg.CORBA.LocalObject implements ServantLocator
57 {
58
59 // computed using serialver tool
60
61 private static final long serialVersionUID = 4028710359865748280L;
62 private ORB orb;
63
64 private NameService theNameService;
65
66 private File logDir;
67
68 private Hashtable contexts;
69
70 private CounterDB counterDb;
71
72 private int counter;
73
|