org.apache.juddi.datastore
Class DataStoreFactory

java.lang.Object
  extended by org.apache.juddi.datastore.DataStoreFactory

public class DataStoreFactory
extends java.lang.Object

Implementation of Factory pattern responsible for instantiating the DataStore interface implementation. The name of the class to instantiate should exist as a property in the juddi.properties configuration file with a property name of juddi.datasource.datastoreClassName. If the property is not found an Exception is thrown.

Author:
Steve Viens (sviens@apache.org)

Constructor Summary
DataStoreFactory()
           
 
Method Summary
static DataStore getDataStore()
          Returns a new instance of a DataStore.
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataStoreFactory

public DataStoreFactory()
Method Detail

getDataStore

public static DataStore getDataStore()
Returns a new instance of a DataStore.

Returns:
DataStore

main

public static void main(java.lang.String[] args)


Copyright © 2004-2007. All Rights Reserved.