Class CloudCommonServiceComponent
- java.lang.Object
-
- org.wso2.carbon.stratos.common.internal.CloudCommonServiceComponent
-
public class CloudCommonServiceComponent extends Object
-
-
Constructor Summary
Constructors Constructor Description CloudCommonServiceComponent()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidactivate(org.osgi.service.component.ComponentContext context)protected voiddeactivate(org.osgi.service.component.ComponentContext context)static org.osgi.framework.BundleContextgetBundleContext()static org.wso2.carbon.registry.core.session.UserRegistrygetConfigSystemRegistry(int tenantId)static org.wso2.carbon.registry.core.session.UserRegistrygetGovernanceSystemRegistry(int tenantId)static PackageInfoHoldergetPackageInfos()static org.wso2.carbon.user.core.service.RealmServicegetRealmService()static org.wso2.carbon.registry.core.service.RegistryServicegetRegistryService()static org.wso2.carbon.user.core.tenant.TenantManagergetTenantManager()protected voidsetRealmService(org.wso2.carbon.user.core.service.RealmService realmService)protected voidsetRegistryService(org.wso2.carbon.registry.core.service.RegistryService registryService)protected voidunsetRealmService(org.wso2.carbon.user.core.service.RealmService realmService)protected voidunsetRegistryService(org.wso2.carbon.registry.core.service.RegistryService registryService)
-
-
-
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()
-
-