|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.carol.jndi.registry.RegistryCreator
Create registry with options like fixing exported objects port number
Method Summary | |
static java.rmi.registry.Registry |
createRegistry(int port,
int objectPort,
java.net.InetAddress inetAddress,
java.lang.String protocol)
Create a new registry on given port and use exported object port given |
static void |
main(java.lang.String[] args)
Start a new Registry |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static java.rmi.registry.Registry createRegistry(int port, int objectPort, java.net.InetAddress inetAddress, java.lang.String protocol) throws java.rmi.RemoteException
port
- registry portobjectPort
- exported objects portinetAddress
- ip to use for the bind (instead of using all interfaces)protocol
- associated protocol
java.rmi.RemoteException
- if registry cannot be builtpublic static void main(java.lang.String[] args)
args
- arguments for starting registry
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |