|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents a geo spatial service handle. Follows the same design as IResource.
Represents a spatial service, which may be lazily loaded. The existance of this object does not ensure that the advertized data is guaranteed to exist, nor does this interface guarantee that the service exists based on this object's existance. We should also note the resource management is left to the user, and that resolve() is not guaranteed to return the same instance object from two subsequent calls, but may. This is merely a handle to some information about a service, and a method of aquiring an instance of the service ...
NOTE: This may be the result of communications with a metadata service, and as such this service handle may not have been validated yet. Remember to check the service status.
ServiceInfo
,
ServiceFinder
Nested Class Summary |
Nested classes inherited from class org.geotools.catalog.Resolve |
Resolve.Status |
Method Summary | |
java.util.Map |
getConnectionParams()
Accessor to the set of params used to create this entry. |
ServiceInfo |
getInfo(ProgressListener monitor)
|
java.util.List |
members(ProgressListener monitor)
Return list of IGeoResources managed by this service. |
java.lang.Object |
resolve(java.lang.Class adaptee,
ProgressListener monitor)
Will attempt to morph into the adaptee, and return that object. |
Methods inherited from interface org.geotools.catalog.Resolve |
addListener, canResolve, fire, getIdentifier, getMessage, getStatus, parent, removeListener |
Method Detail |
public java.util.List members(ProgressListener monitor) throws java.io.IOException
(List)resolve(List.class,monitor);
Many file based serivces will just contain a single IGeoResource.
members
in interface Resolve
monitor
- Progress monitor used to report status while blocking.
May be null.
java.io.IOException
- in the result of an I/O error.public java.lang.Object resolve(java.lang.Class adaptee, ProgressListener monitor) throws java.io.IOException
resolve
in interface Resolve
adaptee
- monitor
-
java.io.IOException
- in the result of an I/O error.ServiceInfo
,
GeoResource
,
IResolve#resolve(Class, ProgressListener)
public java.util.Map getConnectionParams()
ServiceFinder
public ServiceInfo getInfo(ProgressListener monitor) throws java.io.IOException
java.io.IOException
IService#resolve(Class, ProgressListener)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |