|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wso2.registry.RegistryFactory
org.wso2.registry.app.RemoteRegistryFactory
public class RemoteRegistryFactory
Create a RemoteRegistry from some properties
| Field Summary | |
|---|---|
static java.lang.String |
REMOTE_URL
|
| Fields inherited from class org.wso2.registry.RegistryFactory |
|---|
FACTORY_CLASS_PROPERTY, PROPERTY_FILE_NAME, PROPFILE_PROPERTY, REG_CLASS_PROPERTY |
| Constructor Summary | |
|---|---|
RemoteRegistryFactory(java.util.Properties props)
|
|
| Method Summary | |
|---|---|
Registry |
getRegistry()
Get a Registry with no security credentials. |
Registry |
getRegistry(java.lang.String username,
java.lang.String password)
Get a Registry with the provided credentials. |
| Methods inherited from class org.wso2.registry.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 RegistryFactoryRegistryException - if a Registry couldn't be created
public Registry getRegistry(java.lang.String username,
java.lang.String password)
throws RegistryException
RegistryFactory
getRegistry in class RegistryFactoryusername - 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 | |||||||||