Methods Summary |
---|
public void | adapterManagerStateChanged(int managerId, short newState)Called whenever a state change occurs in an adapter manager.
|
public void | adapterStateChanged(org.omg.PortableInterceptor.ObjectReferenceTemplate[] templates, short newState)Called whenever a state change occurs in an object adapter that
was not caused by an adapter manager state change.
|
public int | allocateServerRequestId()
|
public void | cleanupClientPIRequest()Invoked when a request is about to be cleaned up. Must be called
after ending points are called so that the info object on the stack
can be deinitialized and popped from the stack at the appropriate
time.
|
public void | cleanupServerPIRequest()Invoked when a request is about to be cleaned up. Must be called
after ending points are called so that the info object on the stack
can be deinitialized and popped from the stack at the appropriate
time.
|
public org.omg.CORBA.Policy | create_policy(int type, org.omg.CORBA.Any val)
|
public void | destroyInterceptors()
|
public void | disableInterceptorsThisThread()Called for pseudo-ops to temporarily disable portable interceptor
hooks for calls on this thread. Keeps track of the number of
times this is called and increments the disabledCount.
|
public void | enableInterceptorsThisThread()Called for pseudo-ops to re-enable portable interceptor
hooks for calls on this thread. Decrements the disabledCount.
If disabledCount is 0, interceptors are re-enabled.
|
public org.omg.PortableInterceptor.Current | getPICurrent()
|
public void | initialize()Complete the initialization of the PIHandler. This will execute the methods
on the ORBInitializers, if any are defined. This must be done here so that
the ORB can obtain the PIHandler BEFORE the ORBInitializers run, since they
will need access to the PIHandler through the ORB.
|
public void | initializeServerPIInfo(com.sun.corba.se.spi.protocol.CorbaMessageMediator request, com.sun.corba.se.spi.oa.ObjectAdapter oa, byte[] objectId, com.sun.corba.se.spi.ior.ObjectKeyTemplate oktemp)Notifies PI to start a new server request and set initial
information for server-side interceptors.
PI will use this information as a source of information for the
ServerRequestInfo object. poaimpl is declared as an Object so that
we need not introduce a dependency on the POA package.
|
public void | initiateClientPIRequest(boolean diiRequest)Invoked when a request is about to be created. Must be called before
any of the setClientPI* methods so that a new info object can be
prepared for information collection.
|
public java.lang.Exception | invokeClientPIEndingPoint(int replyStatus, java.lang.Exception exception)Called when the appropriate client ending interception point is
to be invoked for all apporpriate client-side request interceptors.
|
public void | invokeClientPIStartingPoint()Called when the send_request or send_poll portable interception point
is to be invoked for all appropriate client-side request interceptors.
|
public void | invokeServerPIEndingPoint(com.sun.corba.se.impl.protocol.giopmsgheaders.ReplyMessage replyMessage)Called when the appropriate server ending interception point is
to be invoked for all appropriate server-side request interceptors.
|
public void | invokeServerPIIntermediatePoint()Called when the appropriate server intermediate interception point is
to be invoked for all appropriate server-side request interceptors.
|
public void | invokeServerPIStartingPoint()Called when the appropriate server starting interception point is
to be invoked for all appropriate server-side request interceptors.
|
public void | objectAdapterCreated(com.sun.corba.se.spi.oa.ObjectAdapter oa)Called when a new object adapter is created.
|
public void | registerPolicyFactory(int type, org.omg.PortableInterceptor.PolicyFactory factory)
|
public void | register_interceptor(org.omg.PortableInterceptor.Interceptor interceptor, int type)
|
public void | setClientPIInfo(com.sun.corba.se.impl.corba.RequestImpl requestImpl)Notifies PI of additional information for client-side interceptors.
PI will use this information as a source of information for the
ClientRequestInfo object.
|
public void | setClientPIInfo(com.sun.corba.se.spi.protocol.CorbaMessageMediator messageMediator)Notify PI of the MessageMediator for the request.
|
public void | setServerPIExceptionInfo(org.omg.CORBA.Any exception)Notifies PI of additional information for server-side interceptors.
PI will use this information as a source of information for the
ServerRequestInfo object. This is the exception of a DSI request.
|
public void | setServerPIInfo(java.lang.Object servant, java.lang.String targetMostDerivedInterface)Notifies PI of additional information reqired for ServerRequestInfo.
|
public void | setServerPIInfo(java.lang.Exception exception)Notifies PI of additional information required for ServerRequestInfo.
|
public void | setServerPIInfo(org.omg.CORBA.NVList arguments)Notifies PI of additional information for server-side interceptors.
PI will use this information as a source of information for the
ServerRequestInfo object. These are the arguments for a DSI request.
|
public void | setServerPIInfo(org.omg.CORBA.Any result)Notifies PI of additional information for server-side interceptors.
PI will use this information as a source of information for the
ServerRequestInfo object. This is the result of a DSI request.
|