| java.lang.Object org.geotools.catalog.AbstractService
All known Subclasses: org.geotools.catalog.shapefile.ShapefileService, org.geotools.catalog.wms.WMSService, org.geotools.catalog.DataStoreService, org.geotools.catalog.wfs.WFSService, org.geotools.catalog.AbstractFileService,
AbstractService | abstract public class AbstractService implements Service(Code) | | Abstract implementation of Service.
|
Constructor Summary | |
public | AbstractService(Catalog parent) Creates a new service handle contained within a catalog. | public | AbstractService(Catalog parent, Map params) Creates a new service handle contained within a catalog, with a
set of connection paramters. |
AbstractService | public AbstractService(Catalog parent)(Code) | | Creates a new service handle contained within a catalog.
Parameters: parent - The catalog containg the service. |
AbstractService | public AbstractService(Catalog parent, Map params)(Code) | | Creates a new service handle contained within a catalog, with a
set of connection paramters.
Parameters: parent - The catalog containing the service. Parameters: params - The connection params used to connect to the service. |
addListener | public void addListener(ResolveChangeListener listener)(Code) | | This method does nothing. Sublcasses should override if events are
supported.
Parameters: listener - DOCUMENT ME! |
fire | public void fire(ResolveChangeEvent event)(Code) | | This method does nothing. Sublcasses should override if events are
supported.
Parameters: event - DOCUMENT ME! |
getConnectionParams | public Map getConnectionParams()(Code) | | Connection parameters, possibly null. |
getMembers | protected List getMembers()(Code) | | The cached members. |
removeListener | public void removeListener(ResolveChangeListener listener)(Code) | | This method does nothing. Sublcasses should override if events are
supported.
Parameters: listener - DOCUMENT ME! |
setConnectionParams | protected void setConnectionParams(Map params)(Code) | | Sets the connection params for the service handle.
Parameters: params - Map of connection paramters. |
setMembers | protected void setMembers(List members)(Code) | | Sets the cached value of the members of the service.
Parameters: members - List of GeoResource. |
setMessage | protected void setMessage(Throwable msg)(Code) | | Sets the cached error message.
Parameters: msg - An exception which occured when connecting to the service. |
toString | public String toString()(Code) | | Indicate class and id.
string representing this IResolve |
|
|