|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectplanet.generic.commonapi.factory.EndPointFactoryImpl
This class uses the Factory Method pattern design to build new EndPoints.
Constructor Summary | |
EndPointFactoryImpl()
Build a uninitialized EndPointFactoryImpl. |
Method Summary | |
EndPoint |
buildEndPoint(Application app,
Node node)
Builds a new instance of EndPoint, relating specified Application and Node. |
EndPointFactory |
setValues(java.lang.Class endPoint)
Sets initial values for this EndPointFactory. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EndPointFactoryImpl()
Method Detail |
public EndPointFactory setValues(java.lang.Class endPoint) throws InitializationException
setValues
in interface EndPointFactory
endPoint
- Class reference to build new EndPoint instances.
InitializationException
- if some error occurs during the
initialization process.public EndPoint buildEndPoint(Application app, Node node) throws InitializationException
buildEndPoint
in interface EndPointFactory
app
- Application to run over the node.node
- Node over which run the specified application.
InitializationException
EndPointFactory.buildEndPoint(planet.commonapi.Application, planet.commonapi.Node)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |