org.geotools.catalog
Class AbstractService

java.lang.Object
  extended byorg.geotools.catalog.AbstractService
All Implemented Interfaces:
Resolve, Service
Direct Known Subclasses:
ShapefileService, WFSService, WMSService

public abstract class AbstractService
extends java.lang.Object
implements Service

Abstract implementation of Service.


Nested Class Summary
 
Nested classes inherited from class org.geotools.catalog.Resolve
Resolve.Status
 
Constructor Summary
AbstractService(Catalog parent)
          Creates a new service handle contained within a catalog.
 
Method Summary
 void addListener(ResolveChangeListener listener)
          This method does nothing.
 boolean equals(java.lang.Object other)
          This should represent the identifier
 void fire(ResolveChangeEvent event)
          This method does nothing.
 int hashCode()
          This should represent the identified
 Resolve parent(ProgressListener monitor)
          Returns the parent Catalog.
 void removeListener(ResolveChangeListener listener)
          This method does nothing.
 java.lang.String toString()
          Indicate class and id.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.geotools.catalog.Service
getConnectionParams, getInfo, members, resolve
 
Methods inherited from interface org.geotools.catalog.Resolve
canResolve, getIdentifier, getMessage, getStatus
 

Constructor Detail

AbstractService

public AbstractService(Catalog parent)
Creates a new service handle contained within a catalog.

Parameters:
parent - The catalog containg the service.
Method Detail

parent

public Resolve parent(ProgressListener monitor)
Returns the parent Catalog.

Specified by:
parent in interface Resolve
Parameters:
monitor - DOCUMENT ME!
Returns:
DOCUMENT ME!

equals

public final boolean equals(java.lang.Object other)
This should represent the identifier

Parameters:
other -
Returns:
See Also:
Object.equals(java.lang.Object)

addListener

public void addListener(ResolveChangeListener listener)
This method does nothing. Sublcasses should override if events are supported.

Specified by:
addListener in interface Resolve
Parameters:
listener - DOCUMENT ME!

removeListener

public void removeListener(ResolveChangeListener listener)
This method does nothing. Sublcasses should override if events are supported.

Specified by:
removeListener in interface Resolve
Parameters:
listener - DOCUMENT ME!

fire

public void fire(ResolveChangeEvent event)
This method does nothing. Sublcasses should override if events are supported.

Specified by:
fire in interface Resolve
Parameters:
event - DOCUMENT ME!

hashCode

public final int hashCode()
This should represent the identified

Returns:
See Also:
Object.hashCode()

toString

public java.lang.String toString()
Indicate class and id.

Returns:
string representing this IResolve


Copyright © GeoTools. All Rights Reserved.