|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ExtendedResourceManager<T extends Resource>
| Method Summary | |
|---|---|
T |
create(String id,
URL configUrl)
Is used to obtain a resource instance from a configuration url and register it. |
T |
get(String id)
Is used to obtain a resource instance from an id. |
ResourceManagerMetadata<T> |
getMetadata()
|
void |
initMetadata(DeegreeWorkspace workspace)
Initializes the metadata (can be used to scan for resource providers, important so transitive dependencies work). |
| Methods inherited from interface org.deegree.commons.config.ResourceManager |
|---|
activate, createResource, deactivate, deleteResource, getDependencies, getState, getStates, shutdown, startup |
| Method Detail |
|---|
void initMetadata(DeegreeWorkspace workspace)
workspace - ResourceManagerMetadata<T> getMetadata()
getMetadata in interface ResourceManager
T create(String id,
URL configUrl)
throws ResourceInitException
ResourceProvider.
id - the desired id of the new resourceconfigUrl - the configuration url of the new resource
ResourceInitException - if an error occurred while creating the resourceT get(String id)
id -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||