01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: *
15: * See the License for the specific language governing permissions and
16: * limitations under the License.
17: */
18:
19: /**
20: * @author Mikhail A. Markov
21: * @version $Revision: 1.4.4.1 $
22: */package java.rmi.registry;
23:
24: import java.rmi.AccessException;
25: import java.rmi.AlreadyBoundException;
26: import java.rmi.NotBoundException;
27: import java.rmi.Remote;
28: import java.rmi.RemoteException;
29:
30: /**
31: * @com.intel.drl.spec_ref
32: *
33: * @author Mikhail A. Markov
34: * @version $Revision: 1.4.4.1 $
35: */
36: public interface Registry extends Remote {
37:
38: /**
39: * @com.intel.drl.spec_ref
40: */
41: public static final int REGISTRY_PORT = 1099;
42:
43: /**
44: * @com.intel.drl.spec_ref
45: */
46: public void rebind(String name, Remote obj) throws RemoteException,
47: AccessException;
48:
49: /**
50: * @com.intel.drl.spec_ref
51: */
52: public void bind(String name, Remote obj) throws RemoteException,
53: AlreadyBoundException, AccessException;
54:
55: /**
56: * @com.intel.drl.spec_ref
57: */
58: public Remote lookup(String name) throws RemoteException,
59: NotBoundException, AccessException;
60:
61: /**
62: * @com.intel.drl.spec_ref
63: */
64: public void unbind(String name) throws RemoteException,
65: NotBoundException, AccessException;
66:
67: /**
68: * @com.intel.drl.spec_ref
69: */
70: public String[] list() throws RemoteException, AccessException;
71: }
|