org.wso2.registry.jdbc
Class InMemoryJDBCRegistry
java.lang.Object
org.wso2.registry.jdbc.JDBCRegistry
org.wso2.registry.jdbc.InMemoryJDBCRegistry
- All Implemented Interfaces:
- CoreRegistry, Registry
public class InMemoryJDBCRegistry
- extends JDBCRegistry
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. |
Methods inherited from class org.wso2.registry.jdbc.JDBCRegistry |
addComment, applyTag, configure, defineQuery, delete, editComment, executeQuery, get, getAverageRating, getComments, getDefaultRealm, getLogs, getRating, getResourcePathsWithTag, getTags, getVersions, importResource, put, rateResource, removeTag, rename, resourceExists, restoreVersion, shutdown |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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.