|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is the required addition on the part of a data provider. We also use this interface internally, so look in this plugin for examples.
Method Summary | |
boolean |
canProcess(java.net.URI uri)
Determines if the ServiceExtension can process the specified uri and use it to create a set of connection paramters. |
java.util.Map |
createParams(java.net.URI uri)
The primary intention is for drag 'n' drop. |
Service |
createService(Catalog parent,
java.net.URI id,
java.util.Map params)
Creates an IService based on the params provided. |
Method Detail |
public Service createService(Catalog parent, java.net.URI id, java.util.Map params)
parent
- The catalog containing the service, may be nullid
- The sugested service id, should be generated when null.params
- The set of connection params. These param values may
either be parsed, or unparsed (String).
IService#getStatus()
,
IService#getMessage()
public boolean canProcess(java.net.URI uri)
uri
- The uri representing the service.
public java.util.Map createParams(java.net.URI uri)
uri
- The potential source of params.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |