Apache Tuscany OSOA SCA API

org.osoa.sca
Interface RequestContext


public interface RequestContext

Interface that provides information on the current request.

Version:
$Rev: 507656 $ $Date: 2007-02-14 19:07:12 +0000 (Wed, 14 Feb 2007) $

Method Summary
<CB> CB
getCallback()
          Returns a type-safe reference to the callback provided by the caller.
<CB> CallableReference<CB>
getCallbackReference()
          Returns a CallableReference to the callback provided by the caller.
 javax.security.auth.Subject getSecuritySubject()
          Returns the JAAS Subject of the current request.
 java.lang.String getServiceName()
          Returns the name of the service that was invoked.
<B> CallableReference<B>
getServiceReference()
          Returns a CallableReference for the service that was invoked by the caller.
 

Method Detail

getSecuritySubject

javax.security.auth.Subject getSecuritySubject()
Returns the JAAS Subject of the current request.

Returns:
the Subject of the current request

getServiceName

java.lang.String getServiceName()
Returns the name of the service that was invoked.

Returns:
the name of the service that was invoked

getServiceReference

<B> CallableReference<B> getServiceReference()
Returns a CallableReference for the service that was invoked by the caller.

Type Parameters:
B - the Java type of the business interface for the reference
Returns:
a CallableReference for the service that was invoked by the caller

getCallback

<CB> CB getCallback()
Returns a type-safe reference to the callback provided by the caller.

Type Parameters:
CB - the Java type of the business interface for the callback
Returns:
a type-safe reference to the callback provided by the caller

getCallbackReference

<CB> CallableReference<CB> getCallbackReference()
Returns a CallableReference to the callback provided by the caller.

Type Parameters:
CB - the Java type of the business interface for the callback
Returns:
a CallableReference to the callback provided by the caller

Apache Tuscany OSOA SCA API

Apache Tuscany is an effort undergoing incubation at the Apache Software Foundation(ASF) and sponsored by the Apache WS PMC.