Class AbstractGridCoverageResource

Object
AbstractResource
AbstractGridCoverageResource
All Implemented Interfaces:
Data­Set, Grid­Coverage­Resource, Resource

public abstract class AbstractGridCoverageResource extends AbstractResource implements GridCoverageResource
Default implementations of several methods for classes that want to implement the Grid­Coverage­Resource interface. Subclasses should override the following methods: This class also provides the following helper methods for implementation of the read(…) method in subclasses:
Since:
1.2
  • Constructor Details

    • AbstractGridCoverageResource

      protected AbstractGridCoverageResource(Resource parent)
      Creates a new resource, potentially as a child of another resource. The parent resource is typically, but not necessarily, an Aggregate.
      Parameters:
      parent - the parent resource, or null if none.
      Since:
      1.4
    • AbstractGridCoverageResource

      protected AbstractGridCoverageResource(StoreListeners parentListeners, boolean hidden)
      Creates a new resource which can send notifications to the given set of listeners. If hidden is false (the recommended value), then this resource will have its own set of listeners with this resource declared as the source of events. It will be possible to add and remove listeners independently from the set of parent listeners. Conversely if hidden is true, then the given listeners will be used directly and this resource will not appear as the source of any event.

      In any cases, the listeners of all parents (ultimately the data store that created this resource) will always be notified, either directly if hidden is true or indirectly if hidden is false.

      Parameters:
      parent­Listeners - listeners of the parent resource, or null if none. This is usually the listeners of the Data­Store that created this resource.
      hidden - false if this resource shall use its own Store­Listeners with the specified parent, or true for using parent­Listeners directly.
  • Method Details