|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
It's a factory for NodeHandles abstraction. It pretends build NodeHandles of any
class, using the factory method pattern design.
Any future implementation must contain the no argument constructor.
NodeHandle
Method Summary | |
NodeHandle |
buildNodeHandle(Id nodeId,
boolean alive)
Builds a NodeHandle using the default NodeHandle class. |
NodeHandleFactory |
setValues(java.lang.Class nodeHandle)
Sets the initial values for the NodeHandleFactory. |
Method Detail |
public NodeHandleFactory setValues(java.lang.Class nodeHandle) throws InitializationException
nodeHandle
- Class reference to build new NodeHandles.
InitializationException
- if some error occurs during the
initialization process.public NodeHandle buildNodeHandle(Id nodeId, boolean alive) throws InitializationException
InitializationException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |