|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.wso2.carbon.registry.core.RegistryFactory
org.wso2.carbon.registry.app.RemoteRegistryFactory
@Deprecated public class RemoteRegistryFactory
Create a RemoteRegistry from some properties
Field Summary | |
---|---|
static java.lang.String |
REMOTE_URL
Deprecated. |
Fields inherited from class org.wso2.carbon.registry.core.RegistryFactory |
---|
FACTORY_CLASS_PROPERTY, PROPERTY_FILE_NAME, PROPFILE_PROPERTY, REG_CLASS_PROPERTY |
Constructor Summary | |
---|---|
RemoteRegistryFactory(java.util.Properties props)
Deprecated. |
Method Summary | |
---|---|
Registry |
getRegistry()
Deprecated. Get a Registry with no security credentials. |
Registry |
getRegistry(java.lang.String username,
java.lang.String password)
Deprecated. Get a Registry with the provided credentials. |
Methods inherited from class org.wso2.carbon.registry.core.RegistryFactory |
---|
newInstance, newInstance, newInstance |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String REMOTE_URL
Constructor Detail |
---|
public RemoteRegistryFactory(java.util.Properties props)
Method Detail |
---|
public Registry getRegistry() throws RegistryException
RegistryFactory
getRegistry
in class RegistryFactory
RegistryException
- if a Registry couldn't be createdpublic Registry getRegistry(java.lang.String username, java.lang.String password) throws RegistryException
RegistryFactory
getRegistry
in class RegistryFactory
username
- username to connect withpassword
- password to connect with
RegistryException
- if a Registry couldn't be created
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |