All Packages Class Hierarchy This Package Previous Next Index
Class iceberg.pref_reg.front_end
java.lang.Object
|
+----ninja.rmi.NinjaRemoteObject
|
+----ninja.ispace.iSpaceService
|
+----iceberg.pref_reg.front_end
- public class front_end
- extends iSpaceService
- implements pref_reg_if, ScriptLoaderIF
Class front_end implements the front end to the preference
registry. The backend could be the XSet server. The front_end
implements the pref_reg RMI interface for the clients to access
the preference registry.
-
front_end()
-
-
destroy()
- Called by iSpace
-
init(iSpaceServiceConfig)
- Called by iSpace
-
load(String, String)
- This RMI call installs a new script for the user name
given.
-
pref_reg_lookup(pref_req)
- The RMI interface -- very similar to the other pref_reg_lookup
call.
-
pref_reg_lookup(String)
- The RMI server routine called by clients.
front_end
public front_end() throws RemoteException
pref_reg_lookup
public pref_rep pref_reg_lookup(pref_req req) throws RemoteException
- The RMI interface -- very similar to the other pref_reg_lookup
call. This one used the serialized objects pref_req and
pref_rep and hence has higher overhead.
pref_reg_lookup
public String pref_reg_lookup(String requestStr) throws RemoteException
- The RMI server routine called by clients. This implements the
front end interface to the clients. This calls the back end to
get the preference script and executes the script to get the
preferred end point.
load
public String load(String dnStr,
String script) throws RemoteException
- This RMI call installs a new script for the user name
given. There is no authentication done. The input is the
unique-id of the user given as a DN string, and the pref-script
given as a string as well. The output is a "ok: ", or a
"failed: ".
destroy
protected void destroy()
- Called by iSpace
- Overrides:
- destroy in class iSpaceService
init
protected void init(iSpaceServiceConfig config)
- Called by iSpace
- Overrides:
- init in class iSpaceService
All Packages Class Hierarchy This Package Previous Next Index