org.deegree.layer.persistence
Class SingleLayerStore

java.lang.Object
  extended by org.deegree.layer.persistence.SingleLayerStore
All Implemented Interfaces:
Resource, LayerStore

public class SingleLayerStore
extends Object
implements LayerStore

Version:
$Revision: 31627 $, $Date: 2011-08-24 12:54:36 +0200 (Wed, 24 Aug 2011) $
Author:
Andreas Schmitz, last edited by: $Author: aschmitz $

Constructor Summary
SingleLayerStore(Layer layer)
           
 
Method Summary
 void destroy()
          Usually called by the ResourceManager upon workspace shutdown.
 Layer get(String identifier)
           
 List<Layer> getAll()
           
 void init(DeegreeWorkspace workspace)
          Usually called by the ResourceManager upon workspace startup.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleLayerStore

public SingleLayerStore(Layer layer)
Method Detail

init

public void init(DeegreeWorkspace workspace)
          throws ResourceInitException
Description copied from interface: Resource
Usually called by the ResourceManager upon workspace startup.

Specified by:
init in interface Resource
Parameters:
workspace - the workspace the resource belongs to, may be null
Throws:
ResourceInitException

destroy

public void destroy()
Description copied from interface: Resource
Usually called by the ResourceManager upon workspace shutdown.

Specified by:
destroy in interface Resource

getAll

public List<Layer> getAll()
Specified by:
getAll in interface LayerStore

get

public Layer get(String identifier)
Specified by:
get in interface LayerStore


Copyright © 2011. All Rights Reserved.