|
VisiBroker for Java |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ActiveObjectLifeCycleInterceptor
The ActiveObjectLifeCycleInterceptor interface is called when objects are added and removed from the active object map.
Only used when POA has RETAIN
policy. This interface is a per-POA interceptor which may be installed by
a POALifeCycleInterceptor
when the POA is created.
Method Summary | |
---|---|
void |
create(byte[] oid,
Servant servant,
POA adapter)
This interceptor is called whenever a new object is added to the active object map. |
void |
destroy(byte[] oid,
Servant servant,
POA adapter)
This interceptor is called whenever an object is removed from the active object map but has not yet been etherealized. |
Method Detail |
---|
void destroy(byte[] oid, Servant servant, POA adapter)
oid
- The object ID of the servant being destroyed.servant
- The servant being destroyed.adapter
- The Portable Object Adaptor(POA) on which the servant was destroyed.void create(byte[] oid, Servant servant, POA adapter)
oid
- The object ID of the servant being activated.servant
- The servant being activated.adapter
- The Portable Object Adaptor(POA) on which the servant was activated.
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |