|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.commons.config.AbstractBasicResourceManager org.deegree.rendering.r3d.persistence.RenderableStoreManager
public class RenderableStoreManager
The class TODO add class documentation here.
Field Summary |
---|
Fields inherited from class org.deegree.commons.config.AbstractBasicResourceManager |
---|
dir, idToState, workspace |
Constructor Summary | |
---|---|
RenderableStoreManager()
|
Method Summary | |
---|---|
ResourceState<RenderableStore> |
activate(String id)
Activates the resource with the given identifier. |
ResourceState<RenderableStore> |
deactivate(String id)
Deactivates the resource with the given identifier. |
static RenderableStore |
get(String id)
Returns the RenderableStore instance with the specified identifier. |
static Collection<RenderableStore> |
getAll()
Returns all active RenderableStore s. |
Class<? extends ResourceManager>[] |
getDependencies()
|
ResourceManagerMetadata<RenderableStore> |
getMetadata()
|
protected ResourceProvider |
getProvider(File file)
|
void |
init(File configLocation,
DeegreeWorkspace workspace)
Initializes the RenderableStoreManager by loading all RenderableStore configurations from the
given directory. |
protected void |
remove(String id)
|
void |
shutdown()
Is called upon workspace shutdown. |
void |
startup(DeegreeWorkspace workspace)
Is called upon workspace startup. |
Methods inherited from class org.deegree.commons.config.AbstractBasicResourceManager |
---|
createResource, deleteResource, getState, getStates, init |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RenderableStoreManager()
Method Detail |
---|
public void init(File configLocation, DeegreeWorkspace workspace)
RenderableStoreManager
by loading all RenderableStore
configurations from the
given directory.
configLocation
- containing renderable manager configurationspublic static RenderableStore get(String id)
RenderableStore
instance with the specified identifier.
id
- identifier of the renderable store instance
RenderableStore
instance or null if no such instance has been createdpublic static Collection<RenderableStore> getAll()
RenderableStore
s.
RenderableStore
s instance, may be empty but never null
public Class<? extends ResourceManager>[] getDependencies()
public void shutdown()
ResourceManager
public void startup(DeegreeWorkspace workspace)
ResourceManager
public ResourceManagerMetadata<RenderableStore> getMetadata()
public ResourceState<RenderableStore> activate(String id)
ResourceManager
id
- resource identifier, must not be null
null
public ResourceState<RenderableStore> deactivate(String id)
ResourceManager
id
- resource identifier, must not be null
null
protected ResourceProvider getProvider(File file)
getProvider
in class AbstractBasicResourceManager
protected void remove(String id)
remove
in class AbstractBasicResourceManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |