org.n52.wps.server
Class RepositoryManager
java.lang.Object
org.n52.wps.server.RepositoryManager
public class RepositoryManager
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static RepositoryManager getInstance()
reInitialize
public static void reInitialize()
- Allows to reInitialize the RepositoryManager... This should not be called to often.
getAlgorithm
public IAlgorithm getAlgorithm(java.lang.String className,
ExecuteRequest executeRequest)
- Methods looks for Algorithhm in all Repositories.
The first match is returned.
If no match could be found, null is returned
- Parameters:
className -
- Returns:
- IAlgorithm or null
- Throws:
java.lang.Exception
getAlgorithms
public java.util.List<java.lang.String> getAlgorithms()
- Returns:
- allAlgorithms
containsAlgorithm
public boolean containsAlgorithm(java.lang.String algorithmName)
getRepositoryForAlgorithm
public IAlgorithmRepository getRepositoryForAlgorithm(java.lang.String algorithmName)
getInputDataTypeForAlgorithm
public java.lang.Class getInputDataTypeForAlgorithm(java.lang.String algorithmIdentifier,
java.lang.String inputIdentifier)
getOutputDataTypeForAlgorithm
public java.lang.Class getOutputDataTypeForAlgorithm(java.lang.String algorithmIdentifier,
java.lang.String inputIdentifier)
registerAlgorithm
public boolean registerAlgorithm(java.lang.String id,
IAlgorithmRepository repository)
unregisterAlgorithm
public boolean unregisterAlgorithm(java.lang.String id)
getAlgorithmRepository
public IAlgorithmRepository getAlgorithmRepository(java.lang.String name)
getRepositoryForClassName
public IAlgorithmRepository getRepositoryForClassName(java.lang.String className)
getProcessDescription
public net.opengis.wps.x100.ProcessDescriptionType getProcessDescription(java.lang.String processClassName)
Copyright © 2007-2011 52north.org. All Rights Reserved.