org.geotools.catalog
Interface ServiceFinder

All Known Implementing Classes:
DefaultServiceFactory, DefaultServiceFinder

public interface ServiceFinder

Builds service proxies or clones (with an id).

Where not specified, sensible defaults will be added to the create options. aka Magic will occur here :-)

Author:
David Zwiers, Refractions Research, Justin Deoliveira, The Open Planning Project

Method Summary
 java.util.List aquire(java.util.Map params)
          This will create a new IService magically.
 java.util.List aquire(java.net.URI target)
          This method generates a default set of params, and calls aquire(params).
 java.util.List aquire(java.net.URI id, java.util.Map params)
          This methos is intended to be used when replacing an IService entry in a catalog, or for cloning.
 

Method Detail

aquire

public java.util.List aquire(java.util.Map params)
This will create a new IService magically. In some cases sensible default parameters may be added, in addition to parameters removed. An ID will be generated.

Parameters:
params -
Returns:
List

aquire

public java.util.List aquire(java.net.URI target)
This method generates a default set of params, and calls aquire(params).

Parameters:
target -
Returns:
List
See Also:
aquire(params)

aquire

public java.util.List aquire(java.net.URI id,
                             java.util.Map params)
This methos is intended to be used when replacing an IService entry in a catalog, or for cloning. This allows you to retain the URI id, while providing new parameters. This is also intended for persistence frameworks to use. WARNING: This may have undesired results/conflicts when added to a ICatalog if care is not taken when using this method.

Parameters:
id -
params -
Returns:
List


Copyright © GeoTools. All Rights Reserved.