org.jacorb.orb.portableInterceptor

Class PICurrentImpl

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.9 2004/05/06 12:40:00 nicolas Exp $

Author:
Nicolas Noffke

Constructor Summary

PICurrentImpl(PICurrentImpl source)
Make a deep copy of an existing PICurrent.
PICurrentImpl(ORB orb, int no_of_anys)
Create an empty current object.

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, _get_interface_def, _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

Constructor Details

PICurrentImpl

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


PICurrentImpl

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

Method Details

get_slot

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


set_slot

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