org.wso2.carbon.registry.core.service
Interface RegistryProvider
public interface RegistryProvider
This interface can be used to implement a Provider of a Registry as an OSGi Service. The Registry
Kernel consumes such services for the purpose of establishing remote mounts.
Method Summary |
Registry |
getRegistry(java.lang.String registryURL,
java.lang.String username,
java.lang.String password)
Method to obtain a new registry instance. |
getRegistry
Registry getRegistry(java.lang.String registryURL,
java.lang.String username,
java.lang.String password)
throws RegistryException
- Method to obtain a new registry instance.
- Parameters:
registryURL
- the URL of the remote instance.username
- the username used to connect to the registry.password
- the password used to connect to the registry.
- Returns:
- instance of a registry.
- Throws:
RegistryException
- if the operation failed.
Copyright © 2011 WSO2 Inc. All Rights Reserved.