org.wso2.carbon.registry.core.jdbc
Class InMemoryEmbeddedRegistry

java.lang.Object
  extended by org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry
      extended by org.wso2.carbon.registry.core.jdbc.InMemoryEmbeddedRegistry
All Implemented Interfaces:
org.wso2.carbon.registry.api.CoreRegistry, org.wso2.carbon.registry.api.Registry, TransactionManager

public class InMemoryEmbeddedRegistry
extends EmbeddedRegistry

In-memory implementation of the Embedded Registry.

See Also:
EmbeddedRegistry

Field Summary
static java.lang.String IN_MEMORY_DB_DRIVER_NAME
          The database driver of the In-memory embedded database.
static java.lang.String IN_MEMORY_DB_PASSWORD
          The password for the In-memory embedded database.
static java.lang.String IN_MEMORY_DB_URL
          The database URL of the In-memory embedded database.
static java.lang.String IN_MEMORY_DB_USER_NAME
          The username for the In-memory embedded database.
 
Constructor Summary
InMemoryEmbeddedRegistry()
          Creates an in-memory H2 database based registry without the support for authentication and authorization.
 
Method Summary
 
Methods inherited from class org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry
addAspect, addAssociation, addComment, addComment, applyTag, associateAspect, beginTransaction, commitTransaction, configure, copy, createLink, createLink, createVersion, delete, dump, editComment, executeQuery, get, get, getAllAssociations, getAspectActions, getAssociations, getAvailableAspects, getAverageRating, getComments, getEventingServiceURL, getLogCollection, getLogs, getMetaData, getRating, getRegistryContext, getResourcePathsWithTag, getTags, getVersions, importResource, importResource, invokeAspect, invokeAspect, move, newCollection, newResource, put, put, rateResource, removeAspect, removeAssociation, removeComment, removeLink, removeTag, rename, resourceExists, restore, restoreVersion, rollbackTransaction, searchContent, setEventingServiceURL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IN_MEMORY_DB_URL

public static final java.lang.String IN_MEMORY_DB_URL
The database URL of the In-memory embedded database.

See Also:
Constant Field Values

IN_MEMORY_DB_DRIVER_NAME

public static final java.lang.String IN_MEMORY_DB_DRIVER_NAME
The database driver of the In-memory embedded database.

See Also:
Constant Field Values

IN_MEMORY_DB_USER_NAME

public static final java.lang.String IN_MEMORY_DB_USER_NAME
The username for the In-memory embedded database.

See Also:
Constant Field Values

IN_MEMORY_DB_PASSWORD

public static final java.lang.String IN_MEMORY_DB_PASSWORD
The password for the In-memory embedded database.

See Also:
Constant Field Values
Constructor Detail

InMemoryEmbeddedRegistry

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

Throws:
RegistryException - if the creation of the in-memory embedded registry fails.


Copyright © 2011 WSO2 Inc. All Rights Reserved.