|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RegistryService
This interface can be used to implement an OSGi Service of the Registry. By doing so, the registry would become accessible beyond the Registry Kernel. The OSGi service also can be used as means to make sure that no registry related logic executes before the registry has been fully initialized, and made operational. Also, when the registry is no longer in service, all external entities that use the registry would also become automatically suspended.
| Method Summary | |
|---|---|
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 '/'. |
| Method Detail |
|---|
Registry getRegistry()
throws RegistryException
RegistryException - if an error occurs
Registry getRegistry(String userName,
String password)
throws RegistryException
userName - User name of the user.password - Password of the user.
RegistryException - if an error occurs
Registry getRegistry(String userName)
throws RegistryException
userName - User name of the user.
RegistryException - if an error occurs
Registry 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 occurs
Registry 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 occurs
Registry 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 occurs
Registry 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 occurs
Registry getLocalRepository()
throws RegistryException
RegistryException - if an error occurs
Registry 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 occurs
Registry getConfigSystemRegistry()
throws RegistryException
RegistryException - if an error occurs
Registry 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 occurs
Registry getConfigUserRegistry()
throws RegistryException
RegistryException - if an error occurs
Registry getConfigUserRegistry(String userName,
String password)
throws RegistryException
userName - User name of the user.password - Password of the user.
RegistryException - if an error occurs
Registry getConfigUserRegistry(String userName)
throws RegistryException
userName - User name of the user.
RegistryException - if an error occurs
Registry 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 occurs
Registry 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 occurs
Registry getGovernanceSystemRegistry()
throws RegistryException
RegistryException - if an error occurs
Registry 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 occurs
Registry getGovernanceUserRegistry()
throws RegistryException
RegistryException - if an error occurs
Registry getGovernanceUserRegistry(String userName,
String password)
throws RegistryException
userName - User name of the user.password - Password of the user.
RegistryException - if an error occurs
Registry getGovernanceUserRegistry(String userName)
throws RegistryException
userName - User name of the user.
RegistryException - if an error occurs
Registry 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 occurs
Registry 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 occurs
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||