VisiBroker for Java

org.omg.CORBA
Interface CurrentOperations

All Known Subinterfaces:
Current, Current, Current, CurrentOperations, CurrentOperations, PolicyCurrent, PolicyCurrentOperations

public interface CurrentOperations

ORB and CORBA services may wish to provide access to information (context) associated with the thread of execution in which they are running. This information is accessed in a structured manner using interfaces derived from the Current interface defined in the CORBA module.

Each ORB or CORBA service that needs its own context derives an interface from the CORBA module'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:

Operations on interfaces 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. This prevents one thread from manipulating another thread's state, and avoids the need to obtain and narrow a new Current in each method's thread context.



Borland Software Corporation
http://www.borland.com
100 Enterprise Way
Scotts Valley, CA 95066
Voice: (831) 431-1000
pubsweb@borland.com

Read the latest documentation online