org.wso2.carbon.registry.app
Class RemoteRegistryFactory

java.lang.Object
  extended by org.wso2.carbon.registry.core.RegistryFactory
      extended by org.wso2.carbon.registry.app.RemoteRegistryFactory

Deprecated.

@Deprecated
public class RemoteRegistryFactory
extends RegistryFactory

Create a RemoteRegistry from some properties


Field Summary
static 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(Properties props)
          Deprecated.  
 
Method Summary
 Registry getRegistry()
          Deprecated. Get a Registry with no security credentials.
 Registry getRegistry(String username, 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

REMOTE_URL

public static final String REMOTE_URL
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

RemoteRegistryFactory

public RemoteRegistryFactory(Properties props)
Deprecated. 
Method Detail

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 with
password - password to connect with
Returns:
a correctly configured Registry instance
Throws:
RegistryException - if a Registry couldn't be created


Copyright © 2010. All Rights Reserved.