|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectplanet.generic.commonapi.factory.EndPointFactoryImpl
public class EndPointFactoryImpl
This class uses the Factory Method pattern design to build new EndPoints. For this, it requires a concrete property at factory properties file:
Constructor Summary | |
---|---|
EndPointFactoryImpl(java.lang.Class endPointClass)
Constructor for the factory using the specified implementation class of EndPoint. |
|
EndPointFactoryImpl(java.lang.String factoryProperties)
Constructor for the factory using the specified factory properties file. |
Method Summary | |
---|---|
EndPoint |
buildEndPoint(Application app,
Node node)
Builds a new instance of EndPoint, relating specified Application and Node. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EndPointFactoryImpl(java.lang.String factoryProperties) throws InitializationException
factoryProperties
- Properties file with all items for factories.
InitializationException
- if an error has occurred.public EndPointFactoryImpl(java.lang.Class endPointClass) throws InitializationException
endPointClass
- Implementation class of EndPoint.
InitializationException
- if an error has occurred.Method Detail |
---|
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 |