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(String registryURL, String username, String password)
          Method to obtain a new registry instance.
 

Method Detail

getRegistry

Registry getRegistry(String registryURL,
                     String username,
                     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 © 2014 WSO2 Inc. All Rights Reserved.