|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConnectorCreation
Creation of connectors by a factory class. The classes that implement this interface are considered client side classes and provide the users of connectors with a interface to the repository that stores the functionality supported by the Connector framework. Implementers of the interface must be able to fecth connectors from a registry.
Method Summary | |
---|---|
void |
addRegistry(ConnectorTypeRegistry registry)
adds a certain registry to the set of registries that will be searched to find certain functionality |
java.lang.Object |
getServiceAdapter(ServiceRequest request)
return one object which supports an interface with requested functionality. |
java.lang.Object[] |
getServiceAdapters(ServiceRequest request)
returns one or more objects which supports an interface with requested functionality |
Method Detail |
---|
java.lang.Object getServiceAdapter(ServiceRequest request) throws org.n52.connectors.core.exceptions.N52Exception
request
- contains all information that is needed to find a suitable
connector
org.n52.connectors.core.exceptions.IllegalConnectorRequestException
- request could not be fullfilled
org.n52.connectors.core.exceptions.N52Exception
- low level errors that are passed to higher level error
handlingjava.lang.Object[] getServiceAdapters(ServiceRequest request)
request
- contains all information that is needed to find a suitable
connector
void addRegistry(ConnectorTypeRegistry registry)
registry
- a registry made locally to query for functionality
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |