public interface RegistryService
| Modifier and Type | Method and Description |
|---|---|
Registry |
getConfigSystemRegistry()
Returns a registry to be used for system operations.
|
Registry |
getConfigSystemRegistry(int tenantId)
Returns a registry to be used for system operations.
|
Registry |
getConfigUserRegistry()
Creates a Registry instance for anonymous user from the configuration registry space.
|
Registry |
getConfigUserRegistry(String userName)
Creates a Registry instance for the given user from the configuration registry space.
|
Registry |
getConfigUserRegistry(String userName,
int tenantId)
Creates a Registry instance for the given user from the configuration registry space with the
tenant id.
|
Registry |
getConfigUserRegistry(String userName,
String password)
Creates Registry instances for normal users from the configuration registry space.
|
Registry |
getConfigUserRegistry(String userName,
String password,
int tenantId)
Creates Registry instances for normal users from the configuration registry space.
|
Registry |
getGovernanceSystemRegistry()
Creates a Registry instance for the Governance space.
|
Registry |
getGovernanceSystemRegistry(int tenantId)
Creates a Registry instance for the Governance space.
|
Registry |
getGovernanceUserRegistry()
Creates a Registry instance for anonymous user from the Governance space.
|
Registry |
getGovernanceUserRegistry(String userName)
Creates a Registry instance for anonymous user from the Governance space.
|
Registry |
getGovernanceUserRegistry(String userName,
int tenantId)
Creates a Registry instance for anonymous user from the Governance space.
|
Registry |
getGovernanceUserRegistry(String userName,
String password)
Creates a Registry instance for anonymous user from the Governance space.
|
Registry |
getGovernanceUserRegistry(String userName,
String password,
int tenantId)
Creates a Registry instance for anonymous user from the Governance space.
|
Registry |
getLocalRepository()
Returns a registry to be used for node-specific system operations.
|
Registry |
getLocalRepository(int tenantId)
Returns a registry to be used for node-specific system operations.
|
Registry |
getRegistry()
Creates a Registry instance for anonymous user which contains the entire registry tree
starting from '/'.
|
Registry |
getRegistry(String userName)
Creates a Registry instance for anonymous user which contains the entire registry tree
starting from '/'.
|
Registry |
getRegistry(String userName,
int tenantId)
Creates a Registry instance for anonymous user which contains the entire registry tree
starting from '/'.
|
Registry |
getRegistry(String userName,
int tenantId,
String chroot)
Creates a Registry instance for anonymous user which contains the entire registry tree
starting from '/'.
|
Registry |
getRegistry(String userName,
String password)
Creates a Registry instance for anonymous user which contains the entire registry tree
starting from '/'.
|
Registry |
getRegistry(String userName,
String password,
int tenantId)
Creates a Registry instance for anonymous user which contains the entire registry tree
starting from '/'.
|
Registry |
getRegistry(String userName,
String password,
int tenantId,
String chroot)
Creates a Registry instance for anonymous user which contains the entire registry tree
starting from '/'.
|
Registry getRegistry() throws RegistryException
RegistryException - if an error occursRegistry getRegistry(String userName, String password) throws RegistryException
userName - User name of the user.password - Password of the user.RegistryException - if an error occursRegistry getRegistry(String userName) throws RegistryException
userName - User name of the user.RegistryException - if an error occursRegistry getRegistry(String userName, String password, int tenantId) throws RegistryException
userName - User name of the user.password - Password of the user.tenantId - tenant id of the user tenant. The tenant id '0', corresponds to the super
tenant of the system, whereas identifiers greater than '0' correspond to
valid tenants.RegistryException - if an error occursRegistry getRegistry(String userName, String password, int tenantId, String chroot) throws RegistryException
userName - User name of the user.password - Password of the user.tenantId - tenant id of the user tenant. The tenant id '0', corresponds to the super
tenant of the system, whereas identifiers greater than '0' correspond to
valid tenants.chroot - to return a chrooted registry. The whole registry can be accessed by using
the chroot, '/', and a subset of the registry can be accessed by using a
chroot, '/x/y/z'. For example, the repository of the configuration local
registry can be obtained from '/_system/config/repository'.RegistryException - if an error occursRegistry getRegistry(String userName, int tenantId) throws RegistryException
userName - User name of the user.tenantId - tenant id of the user tenant. The tenant id '0', corresponds to the super
tenant of the system, whereas identifiers greater than '0' correspond to
valid tenants.RegistryException - if an error occursRegistry getRegistry(String userName, int tenantId, String chroot) throws RegistryException
userName - User name of the user.tenantId - tenant id of the user tenant. The tenant id '0', corresponds to the super
tenant of the system, whereas identifiers greater than '0' correspond to
valid tenants.chroot - to return a chrooted registry. The whole registry can be accessed by using
the chroot, '/', and a subset of the registry can be accessed by using a
chroot, '/x/y/z'. For example, the repository of the configuration local
registry can be obtained from '/_system/config/repository'.RegistryException - if an error occursRegistry getLocalRepository() throws RegistryException
RegistryException - if an error occursRegistry getLocalRepository(int tenantId) throws RegistryException
tenantId - tenant id of the user tenant. The tenant id '0', corresponds to the super
tenant of the system, whereas identifiers greater than '0' correspond to
valid tenants.RegistryException - if an error occursRegistry getConfigSystemRegistry() throws RegistryException
RegistryException - if an error occursRegistry getConfigSystemRegistry(int tenantId) throws RegistryException
tenantId - the tenant id of the system. The tenant id '0', corresponds to the super
tenant of the system, whereas identifiers greater than '0' correspond to
valid tenants.RegistryException - if an error occursRegistry getConfigUserRegistry() throws RegistryException
RegistryException - if an error occursRegistry getConfigUserRegistry(String userName, String password) throws RegistryException
userName - User name of the user.password - Password of the user.RegistryException - if an error occursRegistry getConfigUserRegistry(String userName) throws RegistryException
userName - User name of the user.RegistryException - if an error occursRegistry getConfigUserRegistry(String userName, int tenantId) throws RegistryException
userName - User name of the user.tenantId - tenant id of the user tenant. The tenant id '0', corresponds to the super
tenant of the system, whereas identifiers greater than '0' correspond to
valid tenants.RegistryException - if an error occursRegistry getConfigUserRegistry(String userName, String password, int tenantId) throws RegistryException
userName - User name of the user.tenantId - tenant id of the user tenant. The tenant id '0', corresponds to the super
tenant of the system, whereas identifiers greater than '0' correspond to
valid tenants.password - Password of the user.RegistryException - if an error occursRegistry getGovernanceSystemRegistry() throws RegistryException
RegistryException - if an error occursRegistry getGovernanceSystemRegistry(int tenantId) throws RegistryException
tenantId - the tenant id of the system. The tenant id '0', corresponds to the super
tenant of the system, whereas identifiers greater than '0' correspond to
valid tenants.RegistryException - if an error occursRegistry getGovernanceUserRegistry() throws RegistryException
RegistryException - if an error occursRegistry getGovernanceUserRegistry(String userName, String password) throws RegistryException
userName - User name of the user.password - Password of the user.RegistryException - if an error occursRegistry getGovernanceUserRegistry(String userName) throws RegistryException
userName - User name of the user.RegistryException - if an error occursRegistry getGovernanceUserRegistry(String userName, String password, int tenantId) throws RegistryException
userName - User name of the user.password - Password of the user.tenantId - tenant id of the user tenant. The tenant id '0', corresponds to the super
tenant of the system, whereas identifiers greater than '0' correspond to
valid tenants.RegistryException - if an error occursRegistry getGovernanceUserRegistry(String userName, int tenantId) throws RegistryException
userName - User name of the user.tenantId - tenant id of the user tenant. The tenant id '0', corresponds to the super
tenant of the system, whereas identifiers greater than '0' correspond to
valid tenants.RegistryException - if an error occursCopyright © 2018 WSO2 Inc. All rights reserved.