org.jacorb.orb.portableInterceptor
Class PICurrentImpl

java.lang.Object
  extended byorg.omg.CORBA.LocalObject
      extended byorg.jacorb.orb.portableInterceptor.PICurrentImpl
All Implemented Interfaces:
Current, Current, CurrentOperations, CurrentOperations, IDLEntity, LocalInterface, Object, java.io.Serializable

public class PICurrentImpl
extends LocalObject
implements Current

This is the current object for the portable interceptors. It is merely a slot table, but can be bound to a thread scope. See PI Spec p. 6-55ff

Version:
$Id: PICurrentImpl.java,v 1.8 2002/12/20 18:29:05 nicolas Exp $
Author:
Nicolas Noffke
See Also:
Serialized Form

Constructor Summary
PICurrentImpl(ORB orb, int no_of_anys)
          Create an empty current object.
PICurrentImpl(PICurrentImpl source)
          Make a deep copy of an existing PICurrent.
 
Method Summary
 Any get_slot(int id)
           
 void set_slot(int id, Any data)
           
 
Methods inherited from class org.omg.CORBA.LocalObject
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _ids, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_policy_override, validate_connection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.omg.CORBA.Object
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_interface, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
 

Constructor Detail

PICurrentImpl

public PICurrentImpl(ORB orb,
                     int no_of_anys)
Create an empty current object. All slots will contain an empty Any.


PICurrentImpl

public PICurrentImpl(PICurrentImpl source)
Make a deep copy of an existing PICurrent.

Method Detail

get_slot

public Any get_slot(int id)
             throws InvalidSlot
Specified by:
get_slot in interface CurrentOperations
Throws:
InvalidSlot

set_slot

public void set_slot(int id,
                     Any data)
              throws InvalidSlot
Specified by:
set_slot in interface CurrentOperations
Throws:
InvalidSlot