org.wso2.registry.jdbc
Class InMemoryJDBCRegistry

java.lang.Object
  extended by org.wso2.registry.jdbc.JDBCRegistry
      extended by org.wso2.registry.jdbc.InMemoryJDBCRegistry
All Implemented Interfaces:
CoreRegistry, Registry

public class InMemoryJDBCRegistry
extends JDBCRegistry


Field Summary
static java.lang.String INMEMORY_DB_DRIVER_NAME
           
static java.lang.String INMEMORY_DB_PASSWORD
           
static java.lang.String INMEMORY_DB_URL
           
static java.lang.String INMEMORY_DB_USER_NAME
           
 
Fields inherited from class org.wso2.registry.jdbc.JDBCRegistry
registryContext, repository, versionRepository
 
Constructor Summary
InMemoryJDBCRegistry()
          Creates an in-memory HSQL database based registry without the support for authentication and authorization.
InMemoryJDBCRegistry(RegistryRealm registryRealm)
          Creates the in-memory HSQL database and creates all tables necessary for the registry.
 
Method Summary
 
Methods inherited from class org.wso2.registry.jdbc.JDBCRegistry
addAssociation, addComment, applyTag, associateAspect, beginTransaction, commitTransaction, configure, copy, createVersion, delete, editComment, executeQuery, get, get, getAllAssociations, getAspectActions, getAssociations, getAvailableAspects, getAverageRating, getComments, getDefaultRealm, getLogCollection, getLogs, getRating, getRegistryContext, getResourcePathsWithTag, getTags, getVersions, importResource, invokeAspect, move, newCollection, newResource, put, rateResource, removeAssociation, removeTag, rename, resourceExists, restoreVersion, rollbackTransaction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INMEMORY_DB_URL

public static final java.lang.String INMEMORY_DB_URL
See Also:
Constant Field Values

INMEMORY_DB_DRIVER_NAME

public static final java.lang.String INMEMORY_DB_DRIVER_NAME
See Also:
Constant Field Values

INMEMORY_DB_USER_NAME

public static final java.lang.String INMEMORY_DB_USER_NAME
See Also:
Constant Field Values

INMEMORY_DB_PASSWORD

public static final java.lang.String INMEMORY_DB_PASSWORD
See Also:
Constant Field Values
Constructor Detail

InMemoryJDBCRegistry

public InMemoryJDBCRegistry()
                     throws RegistryException
Creates an in-memory HSQL database based registry without the support for authentication and authorization.

Throws:
RegistryException

InMemoryJDBCRegistry

public InMemoryJDBCRegistry(RegistryRealm registryRealm)
                     throws RegistryException
Creates the in-memory HSQL database and creates all tables necessary for the registry. Then constructs the registry with a datasource pointing to the HSQL database.

Parameters:
registryRealm - User manager registryRealm to use with the registry. It is strongly recommended to use a registryRealm configured with a in-memory (transient) database with the in-memory registry.
Throws:
RegistryException


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