org.osoa.sca
Interface RequestContext


public interface RequestContext


Method Summary
<CB> CB
getCallback()
          Returns a proxy for the callback as specified by the caller.
<CB> CallableReference<CB>
getCallbackReference()
          Returns a callable reference to the callback as specified 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 on the Java implementation the request came in on.
<B> CallableReference<B>
getServiceReference()
          Returns the callable reference that represents the service or callback reference that the request was invoked on.
 

Method Detail

getSecuritySubject

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

Returns:
the JAAS Subject of the current request.

getServiceName

java.lang.String getServiceName()
Returns the name of the service on the Java implementation the request came in on.

Returns:
the name of the service on the Java implementation the request came in on.

getCallbackReference

<CB> CallableReference<CB> getCallbackReference()
Returns a callable reference to the callback as specified by the caller.

Type Parameters:
CB -
Returns:
a callable reference to the callback as specified by the caller.

getCallback

<CB> CB getCallback()
Returns a proxy for the callback as specified by the caller.

Type Parameters:
CB -
Returns:
a proxy for the callback as specified by the caller.

getServiceReference

<B> CallableReference<B> getServiceReference()
Returns the callable reference that represents the service or callback reference that the request was invoked on. It is illegal for the service implementation to try to call the setCallback() on a returned service reference.

Type Parameters:
B -
Returns:
the callable reference that represents the service or callback reference that the request was invoked on. It is illegal for the service implementation to try to call the setCallback() on a returned service reference.


Copyright © 2009. All Rights Reserved.