|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdermi.registry.FileRegistry
Utility class for stub and interceptor loading (they are loaded from a file)
Constructor Summary | |
---|---|
FileRegistry()
|
Method Summary | |
---|---|
static java.util.Properties |
getEnvironment(java.lang.String filename)
Returns the object's environment properties |
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 EInterceptor |
loadInterceptor(java.lang.String objId,
java.lang.String intClass)
Returns a reference to an Interceptor that intercepts object calls to remote object objId in the registry. |
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 failspublic static java.util.Properties getEnvironment(java.lang.String filename) throws RemoteException
filename
- String Object properties filename
RemoteException
- If something goes wrong ;-)public static ERemote loadERef(java.util.Properties env) throws RemoteException
env
- Properties Containing object location
RemoteException
- If the connection with the event service failspublic 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.public static EInterceptor loadInterceptor(java.lang.String objId, java.lang.String intClass) throws RemoteException
objId
- String Object's name in the registryintClass
- 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 |