org.wso2.carbon.registry.app
Class RemoteRegistryFactory
java.lang.Object
org.wso2.carbon.registry.core.RegistryFactory
org.wso2.carbon.registry.app.RemoteRegistryFactory
Deprecated.
@Deprecated
public class RemoteRegistryFactory
- extends RegistryFactory
Create a RemoteRegistry from some properties
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REMOTE_URL
public static final String REMOTE_URL
- Deprecated.
- See Also:
- Constant Field Values
RemoteRegistryFactory
public RemoteRegistryFactory(Properties props)
- Deprecated.
getRegistry
public Registry getRegistry()
throws RegistryException
- Deprecated.
- Description copied from class:
RegistryFactory
- Get a Registry with no security credentials.
- Specified by:
getRegistry
in class RegistryFactory
- Returns:
- a correctly configured Registry instance
- Throws:
RegistryException
- if a Registry couldn't be created
getRegistry
public Registry getRegistry(String username,
String password)
throws RegistryException
- Deprecated.
- Description copied from class:
RegistryFactory
- Get a Registry with the provided credentials.
- Specified by:
getRegistry
in class RegistryFactory
- Parameters:
username
- username to connect withpassword
- password to connect with
- Returns:
- a correctly configured Registry instance
- Throws:
RegistryException
- if a Registry couldn't be created
Copyright © 2010. All Rights Reserved.