Contents | Package | Class | Tree | Deprecated | Index | Help Java 1.2 Beta 3
PREV | NEXT SHOW LISTS | HIDE LISTS

Class org.omg.CORBA.Current

java.lang.Object
    |
    +----org.omg.CORBA.portable.ObjectImpl
            |
            +----org.omg.CORBA.Current

public abstract class Current
extends ObjectImpl
A class that makes it possible to access information associated with a particular thread of execution, such as security information or a transaction identifier.

An ORB or CORBA service that needs its own thread-specific state subclasses the CORBA package's Current. Users of the service can obtain an instance of the appropriate Current interface by invoking ORB.resolve_initial_references. For example, the Security service obtains the Current relevant to it by invoking

    ORB.resolve_initial_references("SecurityCurrent");
 

A CORBA service does not have to use this method of keeping context but may choose to do so.

Methods on classes derived from Current access state associated with the thread in which they are invoked, not state associated with the thread from which the Current was obtained.


Methods inherited from class org.omg.CORBA.portable.ObjectImpl
 _create_request, _create_request, _duplicate, _get_delegate, _get_implementation, _get_interface, _hash, _ids, _is_a, _is_equivalent, _non_existent, _orb, _release, _request, _set_delegate
 
Methods inherited from class java.lang.Object
 clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 


Contents | Package | Class | Tree | Deprecated | Index | Help Java 1.2 Beta 3
PREV | NEXT SHOW LISTS | HIDE LISTS

Submit a bug or feature
Submit comments/suggestions about new javadoc look.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.