|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dermi.EventServer dermi.DermiRemoteInterceptorObject
public abstract class DermiRemoteInterceptorObject
This class implements the generic skeleton class for any interceptor object
Field Summary | |
---|---|
protected java.util.logging.Logger |
logger
|
Fields inherited from class dermi.EventServer |
---|
className, classStore, conn, eref, uid |
Constructor Summary | |
---|---|
DermiRemoteInterceptorObject()
Local constructor: Entry point to the skeleton class |
|
DermiRemoteInterceptorObject(java.util.Properties env)
Constructor: Entry point to the skeleton class |
Method Summary | |
---|---|
void |
addInterceptor()
This method adds this instance as interceptor to the UID object |
void |
close()
Closes the skeleton |
ERemote |
copy()
Returns a stub copy of this class |
void |
init()
Initializes the skeleton |
void |
interceptorEventArrived(java.util.Hashtable evt,
java.util.ArrayList interceptors)
Method executed every time an interception event is received |
void |
removeInterceptor()
This method removes this instance as interceptor from the UID object |
void |
resumeInterception(java.util.Hashtable data,
java.util.Vector arguments,
java.util.ArrayList interceptors)
This method resumes the interception process throughout the server object |
Methods inherited from class dermi.EventServer |
---|
dispatchDirectEvent, dispatchDirectEvent, dispatchEvent, dispatchEvent, dispatchEvent, getBytes, getClassStore, getERef, getUID, start, writeERef |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected transient java.util.logging.Logger logger
Constructor Detail |
---|
public DermiRemoteInterceptorObject()
public DermiRemoteInterceptorObject(java.util.Properties env) throws RemoteException
env
- Properties Environment properties
RemoteException
- When something goes wrong ;-)Method Detail |
---|
public void interceptorEventArrived(java.util.Hashtable evt, java.util.ArrayList interceptors) throws RemoteException
interceptorEventArrived
in interface RemoteInterceptorListener
evt
- Hashtable Event data (it may be transformed)interceptors
- ArrayList Remaining interceptors
RemoteException
- If something goes wrong ;-)public void resumeInterception(java.util.Hashtable data, java.util.Vector arguments, java.util.ArrayList interceptors) throws RemoteException
data
- Hashtable Event dataarguments
- Vector Method argumentsinterceptors
- ArrayList Remaining interceptors list
RemoteException
- If something goes wrong ;-)public void addInterceptor() throws RemoteException
RemoteException
- If something goes wrong ;-)public void removeInterceptor() throws RemoteException
RemoteException
- If something goes wrong ;-)public void close() throws RemoteException
RemoteException
- If something goes wrong ;-)public void init() throws RemoteException
RemoteException
- If something goes wrong ;-)public ERemote copy() throws RemoteException
RemoteException
- If something goes wrong ;-)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |