1:
37:
38:
39: package ;
40:
41: import ;
42:
43: public interface Context
44: {
45:
46: String INITIAL_CONTEXT_FACTORY
47: = "java.naming.factory.initial";
48:
49:
50: String OBJECT_FACTORIES
51: = "java.naming.factory.object";
52:
53:
54: String STATE_FACTORIES
55: = "java.naming.factory.state";
56:
57:
58: String URL_PKG_PREFIXES
59: = "java.naming.factory.url.pkgs";
60:
61:
62:
63: String PROVIDER_URL
64: = "java.naming.provider.url";
65:
66:
67: String DNS_URL
68: = "java.naming.dns.url";
69:
70:
71: String AUTHORITATIVE
72: = "java.naming.authoritative";
73:
74:
75:
76: String BATCHSIZE
77: = "java.naming.batchsize";
78:
79:
80:
81: String REFERRAL
82: = "java.naming.referral";
83:
84:
85: String SECURITY_PROTOCOL
86: = "java.naming.security.protocol";
87:
88:
89: String SECURITY_AUTHENTICATION
90: = "java.naming.security.authentication";
91:
92:
93:
94: String SECURITY_PRINCIPAL
95: = "java.naming.security.principal";
96:
97:
98:
99: String SECURITY_CREDENTIALS
100: = "java.naming.security.credentials";
101:
102:
103:
104: String LANGUAGE
105: = "java.naming.language";
106:
107:
108:
109: String APPLET
110: = "java.naming.applet";
111:
112: void bind (Name name, Object obj) throws NamingException;
113: void bind (String name, Object obj) throws NamingException;
114:
115: Object lookup (Name name) throws NamingException;
116: Object lookup (String name) throws NamingException;
117:
118: void rebind (Name name, Object obj) throws NamingException;
119: void rebind (String name, Object obj) throws NamingException;
120:
121: void unbind (Name name) throws NamingException;
122: void unbind (String name) throws NamingException;
123:
124: void rename (Name oldName, Name newName) throws NamingException;
125: void rename (String oldName, String newName) throws NamingException;
126:
127: NamingEnumeration list (Name name) throws NamingException;
128: NamingEnumeration list (String name) throws NamingException;
129:
130: NamingEnumeration listBindings (Name name) throws NamingException;
131: NamingEnumeration listBindings (String name) throws NamingException;
132:
133: void destroySubcontext (Name name) throws NamingException;
134: void destroySubcontext (String name) throws NamingException;
135:
136: Context createSubcontext (Name name) throws NamingException;
137: Context createSubcontext (String name) throws NamingException;
138:
139: Object lookupLink (Name name) throws NamingException;
140: Object lookupLink (String name) throws NamingException;
141:
142: NameParser getNameParser (Name name) throws NamingException;
143: NameParser getNameParser (String name) throws NamingException;
144:
145: Name composeName (Name name, Name prefix) throws NamingException;
146: String composeName (String name,
147: String prefix) throws NamingException;
148:
149: Object addToEnvironment (String propName,
150: Object propVal) throws NamingException;
151:
152: Object removeFromEnvironment (String propName) throws NamingException;
153:
154: Hashtable getEnvironment () throws NamingException;
155:
156: void close () throws NamingException;
157:
158: String getNameInNamespace () throws NamingException;
159: }