org.wso2.registry.config
Class RegistryConfigurationProcessor
java.lang.Object
org.wso2.registry.config.RegistryConfigurationProcessor
public class RegistryConfigurationProcessor
- extends java.lang.Object
Builds the registry configuration from xml document. Configuration has to be given as an
input stream. Registry configuration consists of details of datasources, handlers and
aspects. These information is exracted from the configuration populates the necessary
components.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegistryConfigurationProcessor
public RegistryConfigurationProcessor()
populateRegistryConfig
public static void populateRegistryConfig(java.io.InputStream in,
RegistryContext registryContext)
throws RegistryException
- Read XML configuration from the passed InputStream, or from the classpath.
- Parameters:
in
- an InputStream containing XML data, or null.registryContext
- the RegistryContext to populate
- Throws:
RegistryException
- if there's a problem
getRegistryConfigAsXML
public static org.apache.axiom.om.OMElement getRegistryConfigAsXML(RegistryContext registryContext)
Copyright © 2007 Apache Web Services Project. All Rights Reserved.