org.apache.stratos.tenant.activity.util
Class Util

java.lang.Object
  extended by org.apache.stratos.tenant.activity.util.Util

public class Util
extends Object

Util methods for usage.


Constructor Summary
Util()
           
 
Method Summary
static org.wso2.carbon.utils.ConfigurationContextService getConfigurationContextService()
           
static org.wso2.carbon.user.core.service.RealmService getRealmService()
           
static org.wso2.carbon.registry.core.service.RegistryService getRegistryService()
           
static org.wso2.carbon.registry.core.session.UserRegistry getSuperTenantGovernanceSystemRegistry()
           
static org.wso2.carbon.user.core.UserRealm getUserRealm(int tenantId)
           
static void registerRetrieverServices(org.osgi.framework.BundleContext bundleContext)
           
static void setConfigurationContextService(org.wso2.carbon.utils.ConfigurationContextService configurationContextService)
           
static void setRealmService(org.wso2.carbon.user.core.service.RealmService service)
           
static void setRegistryService(org.wso2.carbon.registry.core.service.RegistryService service)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Util

public Util()
Method Detail

setRegistryService

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

setConfigurationContextService

public static void setConfigurationContextService(org.wso2.carbon.utils.ConfigurationContextService configurationContextService)

getConfigurationContextService

public static org.wso2.carbon.utils.ConfigurationContextService getConfigurationContextService()

setRealmService

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

getRealmService

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

getRegistryService

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

getUserRealm

public static org.wso2.carbon.user.core.UserRealm getUserRealm(int tenantId)
                                                        throws org.wso2.carbon.registry.core.exceptions.RegistryException
Throws:
org.wso2.carbon.registry.core.exceptions.RegistryException

getSuperTenantGovernanceSystemRegistry

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

registerRetrieverServices

public static void registerRetrieverServices(org.osgi.framework.BundleContext bundleContext)
                                      throws Exception
Throws:
Exception


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