org.n52.wps.commons
Class WPSConfig
java.lang.Object
org.n52.wps.commons.WPSConfig
public class WPSConfig
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
forceInitialization
public static void forceInitialization(java.lang.String configPath)
throws org.apache.xmlbeans.XmlException,
java.io.IOException
- Throws:
org.apache.xmlbeans.XmlException
java.io.IOException
getInstance
public static WPSConfig getInstance()
getConfigPath
public static java.lang.String getConfigPath()
throws java.io.IOException
- This method retrieves the full path for the file (wps_config.xml), searching in WEB-INF/config. This is only applicable for webapp applications. To customize this, please use directly
forceInitialization(String)
and then getInstance().
- Returns:
-
- Throws:
java.io.IOException
getWPSConfig
public org.n52.wps.impl.WPSConfigurationDocumentImpl.WPSConfigurationImpl getWPSConfig()
getRegisteredParser
public org.n52.wps.ParserDocument.Parser[] getRegisteredParser()
getRegisteredGenerators
public org.n52.wps.GeneratorDocument.Generator[] getRegisteredGenerators()
getRegisterdAlgorithmRepositories
public org.n52.wps.RepositoryDocument.Repository[] getRegisterdAlgorithmRepositories()
getPropertiesForGeneratorClass
public org.n52.wps.PropertyDocument.Property[] getPropertiesForGeneratorClass(java.lang.String className)
getPropertiesForParserClass
public org.n52.wps.PropertyDocument.Property[] getPropertiesForParserClass(java.lang.String className)
getPropertiesForRepositoryClass
public org.n52.wps.PropertyDocument.Property[] getPropertiesForRepositoryClass(java.lang.String className)
getPropertyForKey
public org.n52.wps.PropertyDocument.Property getPropertyForKey(org.n52.wps.PropertyDocument.Property[] properties,
java.lang.String key)