@Deprecated public class RemoteRegistryFactory extends RegistryFactory
Modifier and Type | Field and Description |
---|---|
static String |
REMOTE_URL
Deprecated.
|
FACTORY_CLASS_PROPERTY, PROPERTY_FILE_NAME, PROPFILE_PROPERTY, REG_CLASS_PROPERTY
Constructor and Description |
---|
RemoteRegistryFactory(Properties props)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Registry |
getRegistry()
Deprecated.
Get a Registry with no security credentials.
|
Registry |
getRegistry(String username,
String password)
Deprecated.
Get a Registry with the provided credentials.
|
newInstance, newInstance, newInstance
public static final String REMOTE_URL
public RemoteRegistryFactory(Properties props)
public Registry getRegistry() throws RegistryException
RegistryFactory
getRegistry
in class RegistryFactory
RegistryException
- if a Registry couldn't be createdpublic Registry getRegistry(String username, String password) throws RegistryException
RegistryFactory
getRegistry
in class RegistryFactory
username
- username to connect withpassword
- password to connect withRegistryException
- if a Registry couldn't be createdCopyright © 2016 WSO2 Inc. All Rights Reserved.