public class MockNaming extends MockObject implements Naming
Constructor and Description |
---|
MockNaming() |
Modifier and Type | Method and Description |
---|---|
void |
bind(java.lang.String name,
java.rmi.Remote obj) |
java.lang.String[] |
list(java.lang.String name) |
java.rmi.Remote |
lookup(java.lang.String name) |
void |
rebind(java.lang.String name,
java.rmi.Remote obj) |
void |
setExpectedLookupName(java.lang.String aName) |
void |
setupAddLookup(java.rmi.Remote aRemote) |
void |
unbind(java.lang.String name) |
notImplemented, notYetImplemented, verify
public void bind(java.lang.String name, java.rmi.Remote obj) throws java.rmi.AlreadyBoundException, java.net.MalformedURLException, java.rmi.RemoteException
public void setupAddLookup(java.rmi.Remote aRemote)
public void setExpectedLookupName(java.lang.String aName)
public java.rmi.Remote lookup(java.lang.String name) throws java.rmi.NotBoundException, java.net.MalformedURLException, java.rmi.RemoteException
public void unbind(java.lang.String name) throws java.rmi.RemoteException, java.rmi.NotBoundException, java.net.MalformedURLException
public void rebind(java.lang.String name, java.rmi.Remote obj) throws java.rmi.RemoteException, java.net.MalformedURLException
Copyright © 2002 Mock Objects. All Rights Reserved.