|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.catalog.AbstractService org.geotools.catalog.wms.WMSService
Connect to a WMS.
Nested Class Summary | |
class |
WMSService.CustomWMS
|
Nested classes inherited from class org.geotools.catalog.Resolve |
Resolve.Status |
Field Summary | |
static java.lang.String |
WMS_URL_KEY
WMS_URL_KEY field Magic param key for Catalog WMS
persistence. |
static java.lang.String |
WMS_WMS_KEY
|
Constructor Summary | |
WMSService(Catalog parent,
java.net.URI uri,
java.util.Map params)
Construct WMSServiceImpl . |
Method Summary | |
boolean |
canResolve(java.lang.Class adaptee)
Non blocking method which is used to determine if a resolve into an instance of a particular class is supported. |
java.util.Map |
getConnectionParams()
Accessor to the set of params used to create this entry. |
java.net.URI |
getIdentifier()
Returns a URI which uniqley identifies the Resolve. |
ServiceInfo |
getInfo(ProgressListener monitor)
|
java.lang.Throwable |
getMessage()
In the event that an error occurs during a resolve, that error can be reported back with this method. |
Resolve.Status |
getStatus()
Status of the resolve. |
protected WebMapServer |
getWMS(ProgressListener theUserIsWatching)
Aquire the actual geotools WebMapServer instance. |
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 class org.geotools.catalog.AbstractService |
addListener, equals, fire, hashCode, parent, removeListener, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String WMS_URL_KEY
WMS_URL_KEY
field Magic param key for Catalog WMS
persistence.
public static final java.lang.String WMS_WMS_KEY
Constructor Detail |
public WMSService(Catalog parent, java.net.URI uri, java.util.Map params)
WMSServiceImpl
.
parent
- uri
- DOCUMENT ME!params
- Method Detail |
public Resolve.Status getStatus()
Resolve
Resolve.Status.BROKEN
,Resolve.Status.CONNECTED
, or
Resolve.Status.NOTCONNECTED
.protected WebMapServer getWMS(ProgressListener theUserIsWatching) throws java.io.IOException
Note this method is blocking and throws an IOException to indicate such.
theUserIsWatching
-
java.io.IOException
public ServiceInfo getInfo(ProgressListener monitor) throws java.io.IOException
java.io.IOException
IService#resolve(Class, ProgressListener)
public java.lang.Object resolve(java.lang.Class adaptee, ProgressListener monitor) throws java.io.IOException
Service
adaptee
- monitor
-
java.io.IOException
ServiceInfo
,
GeoResource
,
IResolve#resolve(Class, ProgressListener)
public java.util.Map getConnectionParams()
Service
net.refractions.udig.catalog.IService#getConnectionParams()
public boolean canResolve(java.lang.Class adaptee)
Resolve
adaptee
- Class of object to resolve into.
IResolve#resolve(Class,ProgressListener)
public java.util.List members(ProgressListener monitor) throws java.io.IOException
Service
(List)resolve(List.class,monitor);
Many file based serivces will just contain a single IGeoResource.
java.io.IOException
public java.lang.Throwable getMessage()
Resolve
Resolve.getStatus()
returns Resolve.Status.BROKEN
, otherwise it
return null.
Resolve.Status
public java.net.URI getIdentifier()
Resolve
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |