soaprmi.registry
Class RegistryImpl
java.lang.Object
soaprmi.registry.RegistryImpl
- All Implemented Interfaces:
- PortRegistry
- public class RegistryImpl
- extends java.lang.Object
- implements PortRegistry
Note that PortRegistry does not need to know about interfaces as
it is storing only Port-s but to remote objects it is implementing Registry.
|
Method Summary |
void |
bind(java.lang.String name,
Port port)
|
java.lang.String[] |
list()
|
Port |
lookup(java.lang.String name)
|
static void |
main(java.lang.String[] args)
|
void |
rebind(java.lang.String name,
Port port)
|
void |
unbind(java.lang.String name)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegistryImpl
public RegistryImpl()
throws RemoteException
lookup
public Port lookup(java.lang.String name)
throws RemoteException
- Specified by:
lookup in interface PortRegistry
- Throws:
RemoteException
bind
public void bind(java.lang.String name,
Port port)
throws RemoteException
- Specified by:
bind in interface PortRegistry
- Throws:
RemoteException
unbind
public void unbind(java.lang.String name)
throws RemoteException
- Specified by:
unbind in interface PortRegistry
- Throws:
RemoteException
rebind
public void rebind(java.lang.String name,
Port port)
throws RemoteException
- Specified by:
rebind in interface PortRegistry
- Throws:
RemoteException
list
public java.lang.String[] list()
throws RemoteException
- Specified by:
list in interface PortRegistry
- Throws:
RemoteException
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright (c) 2004 IU Extreme! Lab http://www.extreme.indiana.edu/ All Rights Reserved.