org.n52.wps.commons
Class WPSConfig
java.lang.Object
org.n52.wps.commons.WPSConfig
- All Implemented Interfaces:
- java.io.Serializable
public class WPSConfig
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
propertyChangeSupport
protected final java.beans.PropertyChangeSupport propertyChangeSupport
WPSCONFIG_PROPERTY_EVENT_NAME
public static final java.lang.String WPSCONFIG_PROPERTY_EVENT_NAME
- See Also:
- Constant Field Values
WPSCAPABILITIES_SKELETON_PROPERTY_EVENT_NAME
public static final java.lang.String WPSCAPABILITIES_SKELETON_PROPERTY_EVENT_NAME
- See Also:
- Constant Field Values
addPropertyChangeListener
public void addPropertyChangeListener(java.lang.String propertyName,
java.beans.PropertyChangeListener listener)
- Add an Listener to the wpsConfig
- Parameters:
propertyName - listener -
removePropertyChangeListener
public void removePropertyChangeListener(java.lang.String propertyName,
java.beans.PropertyChangeListener listener)
- remove a listener from the wpsConfig
- Parameters:
propertyName - listener -
notifyListeners
public void notifyListeners()
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
forceInitialization
public static void forceInitialization(java.io.InputStream stream)
throws org.apache.xmlbeans.XmlException,
java.io.IOException
- Throws:
org.apache.xmlbeans.XmlException
java.io.IOException
getInstance
public static WPSConfig getInstance()
getInstance
public static WPSConfig getInstance(java.lang.String path)
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()
getActiveRegisteredParser
public org.n52.wps.ParserDocument.Parser[] getActiveRegisteredParser()
getRegisteredGenerator
public org.n52.wps.GeneratorDocument.Generator[] getRegisteredGenerator()
getActiveRegisteredGenerator
public org.n52.wps.GeneratorDocument.Generator[] getActiveRegisteredGenerator()
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)
isRepositoryActive
public boolean isRepositoryActive(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)
Copyright © 2007-2011 52north.org. All Rights Reserved.