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

java.lang.Object
  extended by org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService
      extended by org.wso2.carbon.registry.core.jdbc.InMemoryEmbeddedRegistryService
All Implemented Interfaces:
RegistryService

public class InMemoryEmbeddedRegistryService
extends EmbeddedRegistryService

This is an extension to the EmbeddedRegistryService which is tailored to expose InMemoryEmbeddedRegistry instances as OSGi services.


Field Summary
 
Fields inherited from class org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService
registryContext
 
Constructor Summary
InMemoryEmbeddedRegistryService()
          Default constructor
InMemoryEmbeddedRegistryService(InputStream configStream)
          This constructor can be used to create a registry service by providing a registry.xml config file as a stream
 
Method Summary
 org.wso2.carbon.user.core.config.RealmConfiguration getBootstrapRealmConfiguration()
          Method to obtain bootstrap user realm configuration.
 org.wso2.carbon.user.core.service.RealmService getRealmService()
          Method to obtain the user realm service.
 
Methods inherited from class org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService
configure, getConfigSystemRegistry, getConfigSystemRegistry, getConfigUserRegistry, getConfigUserRegistry, getConfigUserRegistry, getConfigUserRegistry, getConfigUserRegistry, getGovernanceSystemRegistry, getGovernanceSystemRegistry, getGovernanceUserRegistry, getGovernanceUserRegistry, getGovernanceUserRegistry, getGovernanceUserRegistry, getGovernanceUserRegistry, getLocalRepository, getRegistry, getRegistry, getRegistry, getRegistry, getRegistry, getRegistry, getRegistry, getSystemRegistry, getSystemRegistry, getSystemRegistry, getUserRealm, getUserRegistry, getUserRegistry, getUserRegistry, getUserRegistry, getUserRegistry, getUserRegistry, getUserRegistry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InMemoryEmbeddedRegistryService

public InMemoryEmbeddedRegistryService()
                                throws RegistryException
Default constructor

Throws:
RegistryException - if construction fails.

InMemoryEmbeddedRegistryService

public InMemoryEmbeddedRegistryService(InputStream configStream)
                                throws RegistryException
This constructor can be used to create a registry service by providing a registry.xml config file as a stream

Parameters:
configStream - - registry.xml as a stream
Throws:
RegistryException - - on failure
Method Detail

getBootstrapRealmConfiguration

public org.wso2.carbon.user.core.config.RealmConfiguration getBootstrapRealmConfiguration()
Method to obtain bootstrap user realm configuration.

Returns:
the realm configuration.

getRealmService

public org.wso2.carbon.user.core.service.RealmService getRealmService()
Method to obtain the user realm service.

Returns:
the user realm service.


Copyright © 2010. All Rights Reserved.