org.apache.stratos.common.internal
Class CloudCommonServiceComponent

java.lang.Object
  extended by org.apache.stratos.common.internal.CloudCommonServiceComponent

public class CloudCommonServiceComponent
extends Object


Constructor Summary
CloudCommonServiceComponent()
           
 
Method Summary
protected  void activate(org.osgi.service.component.ComponentContext context)
           
protected  void deactivate(org.osgi.service.component.ComponentContext context)
           
static org.osgi.framework.BundleContext getBundleContext()
           
static org.wso2.carbon.registry.core.session.UserRegistry getConfigSystemRegistry(int tenantId)
           
static org.wso2.carbon.registry.core.session.UserRegistry getGovernanceSystemRegistry(int tenantId)
           
static PackageInfoHolder getPackageInfos()
           
static org.wso2.carbon.user.core.service.RealmService getRealmService()
           
static org.wso2.carbon.registry.core.service.RegistryService getRegistryService()
           
static org.wso2.carbon.user.core.tenant.TenantManager getTenantManager()
           
protected  void setRealmService(org.wso2.carbon.user.core.service.RealmService realmService)
           
protected  void setRegistryService(org.wso2.carbon.registry.core.service.RegistryService registryService)
           
protected  void unsetRealmService(org.wso2.carbon.user.core.service.RealmService realmService)
           
protected  void unsetRegistryService(org.wso2.carbon.registry.core.service.RegistryService registryService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CloudCommonServiceComponent

public CloudCommonServiceComponent()
Method Detail

activate

protected void activate(org.osgi.service.component.ComponentContext context)

deactivate

protected void deactivate(org.osgi.service.component.ComponentContext context)

setRegistryService

protected void setRegistryService(org.wso2.carbon.registry.core.service.RegistryService registryService)

unsetRegistryService

protected void unsetRegistryService(org.wso2.carbon.registry.core.service.RegistryService registryService)

setRealmService

protected void setRealmService(org.wso2.carbon.user.core.service.RealmService realmService)

unsetRealmService

protected void unsetRealmService(org.wso2.carbon.user.core.service.RealmService realmService)

getBundleContext

public static org.osgi.framework.BundleContext getBundleContext()

getRegistryService

public static org.wso2.carbon.registry.core.service.RegistryService getRegistryService()

getRealmService

public static org.wso2.carbon.user.core.service.RealmService getRealmService()

getTenantManager

public static org.wso2.carbon.user.core.tenant.TenantManager getTenantManager()

getGovernanceSystemRegistry

public static org.wso2.carbon.registry.core.session.UserRegistry getGovernanceSystemRegistry(int tenantId)
                                                                                      throws org.wso2.carbon.registry.core.exceptions.RegistryException
Throws:
org.wso2.carbon.registry.core.exceptions.RegistryException

getConfigSystemRegistry

public static org.wso2.carbon.registry.core.session.UserRegistry getConfigSystemRegistry(int tenantId)
                                                                                  throws org.wso2.carbon.registry.core.exceptions.RegistryException
Throws:
org.wso2.carbon.registry.core.exceptions.RegistryException

getPackageInfos

public static PackageInfoHolder getPackageInfos()


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.