|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ProtocolRegistry.java
The protocol registry data structure, registers all protocols
available to the middleware. It is used by the
ProtocolChooser
to load up the protocol needed and
launch it. Examples of protocols include linking, reconciliation,
etc.
Created: Fri Jul 20 16:08:02 2001
Method Summary | |
java.lang.String |
getProtocolByName(java.lang.String name)
Returns the protocol's absolute class name, by its name |
void |
init()
Initialises a new registry |
void |
load(java.lang.String file)
Loads the registry from disk |
void |
registerProtocol(java.lang.String className,
java.lang.String protocolName)
Registers a new protocol |
void |
save(java.lang.String file)
Saves the registry to disk |
Method Detail |
public void registerProtocol(java.lang.String className, java.lang.String protocolName)
className
- The absolute class name of the protocolprotocolName
- The protocol's name (must be unique)public java.lang.String getProtocolByName(java.lang.String name)
name
- The protocol's name
public void save(java.lang.String file)
file
- The file on which to save the registrypublic void load(java.lang.String file)
file
- The file on which the registry is savedpublic void init()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |