Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Ws Wiki" for change 
notification.

The following page has been changed by JeremyBoynes:
http://wiki.apache.org/ws/Tuscany/SpecProposals/SetCurrentContext

New page:
Setting the current !CompositeContext

Section 1.6.1 of the 0.95 specification defines a class 
!CurrentCompositeContext with a getContext() method that returns the current 
composite context. It does not define how the value returned is set.

= Proposal =
Add a method to allow an implementation to set the value returned:
{{{
   /**
    * Sets the current composite context for the calling thread.
    * If a SecurityManager is present then a check is made to determine if the 
caller has the 
    * "setCurrentContext" RuntimePermission.
    * 
    * @param context the context to be associated with the calling thread; may 
be null
    * @returns the context currently associated with the thread; may be null
    * @throws SecurityException if the caller does not have permission to 
change the context 
   public static CompositeContext setContext(CompositeContext context);
}}}

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to