public class TenantCoreUtil extends Object
Constructor and Description |
---|
TenantCoreUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
initializeRegistry(int tenantId)
Initializes the registry for the tenant.
|
static void |
setOriginatedService(int tenantId,
String originatedService)
Setting the Originated
|
public static void initializeRegistry(int tenantId)
tenantId
- tenant id.public static void setOriginatedService(int tenantId, String originatedService) throws Exception
tenantId
- - tenant IdoriginatedService
- - The Service from where the tenant registration was originated.Exception,
- Registry Exception, if error in putting the originated Service resource
to the governance registry.Exception
Copyright © 2020 WSO2. All rights reserved.