|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectplanet.generic.commonapi.factory.NodeFactoryImpl
This is a specific implementation of NodeFactory that permits build any class of Node with any type of Id.
| Constructor Summary | |
NodeFactoryImpl()
Builds an uninitialized NodeFactoryImpl. |
|
| Method Summary | |
Node |
buildNode()
Builds a NodeImpl with the actual IdFactory and class for the nodes. |
Node |
buildNode(Id id)
Builds a node with the actual implementation class of NodeImpl and the specified id. |
NodeFactory |
setValues(IdFactory idFactory,
java.lang.Class node)
Sets the initial values for this NodeFactory. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public NodeFactoryImpl()
| Method Detail |
public NodeFactory setValues(IdFactory idFactory,
java.lang.Class node)
throws InitializationException
setValues in interface NodeFactoryidFactory - IdFactory to use to build all required Ids.node - Class reference of the current Node implementation.
InitializationException - if some error occurs during the
initialization process.NodeFactory.setValues(planet.commonapi.factory.IdFactory, java.lang.Class)
public Node buildNode()
throws InitializationException
buildNode in interface NodeFactoryInitializationExceptionNodeFactory.buildNode(),
IdFactory,
Id,
Node
public Node buildNode(Id id)
throws InitializationException
buildNode in interface NodeFactoryid - Id to assign to the new instance of NodeImpl.
InitializationExceptionNodeFactory.buildNode(planet.commonapi.Id),
IdFactory,
Id,
Node
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||