org.wso2.registry.config
Class RegistryConfiguration

java.lang.Object
  extended by org.wso2.registry.config.RegistryConfiguration

public class RegistryConfiguration
extends java.lang.Object


Constructor Summary
RegistryConfiguration()
           
 
Method Summary
 DataBaseConfiguration getDataBaseConfiguration(java.lang.String configName)
           
static void main(java.lang.String[] args)
           
 void populateRegistryConfig(java.lang.String xmlLocation)
          This method will read the regisrty.xml and using the data given in the file resgistry configuratoon will be populated.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegistryConfiguration

public RegistryConfiguration()
Method Detail

populateRegistryConfig

public void populateRegistryConfig(java.lang.String xmlLocation)
                            throws RegistryException
This method will read the regisrty.xml and using the data given in the file resgistry configuratoon will be populated. And if the xmlLocation is null then it will use the one in the class path.

Parameters:
xmlLocation - : Location of the
Throws:
RegistryException - : if something went wrong

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception

getDataBaseConfiguration

public DataBaseConfiguration getDataBaseConfiguration(java.lang.String configName)


Copyright © 2007 Apache Web Services Project. All Rights Reserved.