ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Ws Wiki] Update of "Tuscany/SpecProposals/SetCurrentContext" by JeremyBoynes
Date Wed, 10 Jan 2007 20:05:29 GMT
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: general-unsubscribe@ws.apache.org
For additional commands, e-mail: general-help@ws.apache.org


Mime
View raw message