|
||||||||||
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.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 FunctionProvider s. |
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()
FunctionProvider
s. 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
ResourceInitException
public void shutdown()
ResourceManager
public ResourceState activate(String id)
ResourceManager
id
- resource identifier, must not be null
null
public ResourceState 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 |