|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.commons.config.AbstractBasicResourceManager
org.deegree.filter.function.FunctionManager
public class FunctionManager
Entry point for retrieving FunctionProvider instances that are registered via Java SPI.
| Field Summary |
|---|
| Fields inherited from class org.deegree.commons.config.AbstractBasicResourceManager |
|---|
dir, idToState, workspace |
| Constructor Summary | |
|---|---|
FunctionManager()
|
|
| Method Summary | |
|---|---|
ResourceState |
activate(String id)
Activates the resource with the given identifier. |
ResourceState |
deactivate(String id)
Deactivates the resource with the given identifier. |
Class<? extends ResourceManager>[] |
getDependencies()
|
static FunctionProvider |
getFunctionProvider(String name)
Returns the FunctionProvider for the given name. |
static Map<String,FunctionProvider> |
getFunctionProviders()
Returns all available FunctionProviders. |
ResourceManagerMetadata<?> |
getMetadata()
|
protected ResourceProvider |
getProvider(File file)
|
protected void |
remove(String id)
|
void |
shutdown()
Is called upon workspace shutdown. |
void |
startup(DeegreeWorkspace ws)
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 FunctionManager()
| Method Detail |
|---|
public static Map<String,FunctionProvider> getFunctionProviders()
FunctionProviders. Multiple functions with the same case ignored name are not
allowed.
public static FunctionProvider getFunctionProvider(String name)
FunctionProvider for the given name.
name - name of the function, must not be null
null if there is no function with this namepublic Class<? extends ResourceManager>[] getDependencies()
public ResourceManagerMetadata<?> getMetadata()
public void startup(DeegreeWorkspace ws)
throws ResourceInitException
ResourceManager
ResourceInitExceptionpublic void shutdown()
ResourceManager
public ResourceState activate(String id)
ResourceManager
id - resource identifier, must not be null
nullpublic ResourceState deactivate(String id)
ResourceManager
id - resource identifier, must not be null
nullprotected ResourceProvider getProvider(File file)
getProvider in class AbstractBasicResourceManagerprotected void remove(String id)
remove in class AbstractBasicResourceManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||