|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdermi.registry.FileRegistry
public class FileRegistry
Utility class for stub and interceptor loading (they are loaded from a file)
| Constructor Summary | |
|---|---|
FileRegistry()
|
|
| Method Summary | |
|---|---|
static ERemote |
loadERef(java.util.Properties env)
Returns a reference (stub) for the remote object associated with the specified information in the properties Object. |
static ERemote |
loadERef(java.lang.String fileName)
Returns a reference (stub) for the remote object associated with the specified file location. |
static EInterceptor |
loadInterceptor(java.util.Properties p,
java.lang.String intClass)
Returns a reference to an Interceptor that intercepts object calls to remote object instantiated with properties p. |
static ERemote |
loadStub(java.util.Properties env)
Returns a reference (stub) for the remote object associated with the specified information in the properties object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileRegistry()
| Method Detail |
|---|
public static ERemote loadERef(java.lang.String fileName)
throws RemoteException
fileName - String Name of the properties file containing the object's location
RemoteException - If the connection with the event service fails
public static ERemote loadERef(java.util.Properties env)
throws RemoteException
env - Properties Containing object location
RemoteException - If the connection with the event service fails
public static ERemote loadStub(java.util.Properties env)
throws RemoteException
env - Properties Containing object location
RemoteException - If the connection with the event service fails.
public static EInterceptor loadInterceptor(java.util.Properties p,
java.lang.String intClass)
throws RemoteException
p - Properties Object's propertiesintClass - String Name of the interceptor class
RemoteException - If the connection to the event service fails.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||