|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.clif.deploy.ClifRegistry
public class ClifRegistry
The clifRegistry is responsible for creating the initial FractalRMI registry if not externally provided.
Constructor Summary | |
---|---|
ClifRegistry(boolean createRegistry)
Creates a new test plan deployer, using the default RMI registry (as specified by system properties fractal.registry.host and fractal.registry.port) |
Method Summary | |
---|---|
void |
bindClifApp(java.lang.String name,
org.objectweb.fractal.api.Component clifApp)
Bind clifApp component in registry namingService. |
void |
bindServer(java.lang.String name,
org.objectweb.fractal.api.Component server)
Bind server component in registry namingService. |
java.util.Map<java.lang.String,org.objectweb.fractal.api.Component> |
getServerComponents()
Gets the list of registered CLIF server names and components |
java.lang.String[] |
getServers()
Get bound servers in ClifRegistry |
org.objectweb.fractal.api.Component |
lookupClifApp(java.lang.String name)
Looks for a clifApp component. |
org.objectweb.fractal.api.Component |
lookupServer(java.lang.String name)
Looks for a server component. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ClifRegistry(boolean createRegistry) throws java.lang.Exception
createRegistry
- if true, a FractalRMI registry is created on localhost using
default port; if false, the registry is supposed to be running already on the default host
and port.
java.lang.Error
java.lang.Exception
Method Detail |
---|
public java.lang.String[] getServers()
public java.util.Map<java.lang.String,org.objectweb.fractal.api.Component> getServerComponents()
public void bindServer(java.lang.String name, org.objectweb.fractal.api.Component server)
name
- name to be associated with the serverserver
- server to be associated with the given namepublic void bindClifApp(java.lang.String name, org.objectweb.fractal.api.Component clifApp)
name
- name to be associated with the clifAppclifApp
- clifApp to be associated with the given namepublic org.objectweb.fractal.api.Component lookupServer(java.lang.String name)
name
- the name to look for.
public org.objectweb.fractal.api.Component lookupClifApp(java.lang.String name)
name
- the name to look for.
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |