|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NodeHandleFactory
It's a factory for NodeHandles abstraction. It pretends build NodeHandles of any class. It has got no parameters. Theese two parameters are fixed by properties file or by use of the NodeHandleFactory's methods. In the properties file exists the following parameter's names:
NodeHandle
Method Summary | |
---|---|
NodeHandle |
buildNodeHandle(Id nodeId,
boolean alive)
Builds a NodeHandle using the default NodeHandle class. |
java.lang.Class |
getNodeHandleClass()
Gets Class for the generated NodeHandles. |
void |
setNodeHandleClass(java.lang.Class nodeHandleClass)
Sets Class to generate new NodeHandles. |
Method Detail |
---|
NodeHandle buildNodeHandle(Id nodeId, boolean alive) throws InitializationException
InitializationException
java.lang.Class getNodeHandleClass()
void setNodeHandleClass(java.lang.Class nodeHandleClass) throws InitializationException
nodeHandleClass
- Class for the NodeHandles to build in the future.
InitializationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |