|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.dtf.testframework.utils.DistributedIORStore
public class DistributedIORStore
Constructor Summary | |
---|---|
DistributedIORStore()
|
Method Summary | |
---|---|
void |
initialiseStore(java.lang.String URI)
Initialises the IOR store. |
java.lang.String |
loadIOR(java.lang.String serverName)
Finds the IOR stored in the name service against the given name. |
void |
removeIOR(java.lang.String serverName)
Removes the object's IOR from the name service whos name matches serverName. |
void |
storeIOR(java.lang.String serverName,
java.lang.String serverIOR)
Stores an object's IOR against a given unique name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DistributedIORStore()
Method Detail |
---|
public void initialiseStore(java.lang.String URI)
initialiseStore
in interface IORStore
URI
- The URI of the NameService e.g. //bob/NameServicepublic void storeIOR(java.lang.String serverName, java.lang.String serverIOR) throws java.lang.Exception
storeIOR
in interface IORStore
serverName
- The unique name for this IOR (e.g. \TestGroupA\TestA\ServerA),serverIOR
- The IOR for this object reference.
java.lang.Exception
public void removeIOR(java.lang.String serverName) throws java.lang.Exception
removeIOR
in interface IORStore
serverName
- The name in the NameService to be removed.
java.lang.Exception
public java.lang.String loadIOR(java.lang.String serverName) throws java.lang.Exception
loadIOR
in interface IORStore
serverName
- The name of the IOR to be found in the NameService.
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |