org.deegree.layer.persistence
Class MultipleLayerStore

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

public class MultipleLayerStore
extends Object
implements LayerStore

Version:
$Revision: $, $Date: $
Author:
Andreas Schmitz, last edited by: $Author: stranger $

Constructor Summary
MultipleLayerStore(Map<String,Layer> map)
           
 
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

MultipleLayerStore

public MultipleLayerStore(Map<String,Layer> map)
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.