planet.commonapi.factory
Interface EndPointFactory
- All Known Implementing Classes:
- EndPointFactoryImpl
public interface EndPointFactory
This interface attempts to abstract building EndPoints, using the
pattern design Factory Method. For this, requires an instance of
Application and other one of Node.
- Author:
- Jordi Pujol
buildEndPoint
EndPoint buildEndPoint(Application app,
Node node)
throws InitializationException
- Builds a new EndPoint that relates the Application app
with the underlying Node node.
- Parameters:
app
- Application to install at this node.node
- Node where will be installed the Application.
- Returns:
- A new instance of EndPoint that relates the Application
and the Node.
- Throws:
InitializationException