|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectplanet.generic.commonapi.factory.NodeHandleFactoryImpl
It is a specific implementation of NodeHandleFactory that permits to build any class of NodeHandle with any type of Id. So, it requires the Class reference for the related NodeHandle.
Constructor Summary | |
NodeHandleFactoryImpl()
Builds a NodeHandleFactoryImpl instance. |
Method Summary | |
NodeHandle |
buildNodeHandle(Id id,
boolean alive)
Builds a NodeHandle with the actual implementation class of NodeHandle and specifieds id and alive flag. |
NodeHandleFactory |
setValues(java.lang.Class nodeHandle)
Sets the initial values for the NodeHandleFactory. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NodeHandleFactoryImpl()
Method Detail |
public NodeHandleFactory setValues(java.lang.Class nodeHandle) throws InitializationException
setValues
in interface NodeHandleFactory
nodeHandle
- Class reference to build new NodeHandles.
InitializationException
- if some error occurs during the
initialization process.NodeHandleFactory.setValues(java.lang.Class)
public NodeHandle buildNodeHandle(Id id, boolean alive) throws InitializationException
buildNodeHandle
in interface NodeHandleFactory
id
- Id of the related Node, to assign to the new instance of NodeNandle.alive
- true if the related Node is alive. false in other case.
InitializationException
NodeHandleFactory.buildNodeHandle(planet.commonapi.Id, boolean)
,
Id
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |