net.sf.jso.remote
Interface StorageControllerHome

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
ControllerHome

public interface StorageControllerHome
extends java.rmi.Remote

Home for a remote storage controller. An object that implements this interface is typically bound to an object registry with <REGISTRY_NAME_PREFIX>/<application$gt; name.


Field Summary
static java.lang.String REGISTRY_NAME_PREFIX
          Prefix for storage controller home's name in object registry.
 
Method Summary
 RemoteStorageController getController(java.lang.String anUser, java.lang.String aPassword)
          Returns remote reference to storage controller if authentication is succesfull.
 

Field Detail

REGISTRY_NAME_PREFIX

public static final java.lang.String REGISTRY_NAME_PREFIX
Prefix for storage controller home's name in object registry. The prefix should be followed by a slash and application's name.

See Also:
Constant Field Values
Method Detail

getController

public RemoteStorageController getController(java.lang.String anUser,
                                             java.lang.String aPassword)
                                      throws java.rmi.RemoteException,
                                             StorageException
Returns remote reference to storage controller if authentication is succesfull.

Parameters:
anUser - User name for authentication.
aPassword - User's password.
Returns:
Remote reference to storage controller
Throws:
StorageException - If authentication fails.
java.rmi.RemoteException