diff options
author | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-11-20 23:53:35 +0000 |
---|---|---|
committer | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-11-20 23:53:35 +0000 |
commit | a3c48da9bb8971497d414f86e352123d95b9c3da (patch) | |
tree | fdf0f3636b65946c061c8b2e89d657b488be274e /java/sca/modules/sca-api/src/main/java/org/oasisopen/sca/RequestContext.java | |
parent | cc7496466097c3cb8e793ebf3e332b025705aaa7 (diff) |
Moving 2.x trunk
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@882795 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules/sca-api/src/main/java/org/oasisopen/sca/RequestContext.java')
-rw-r--r-- | java/sca/modules/sca-api/src/main/java/org/oasisopen/sca/RequestContext.java | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/java/sca/modules/sca-api/src/main/java/org/oasisopen/sca/RequestContext.java b/java/sca/modules/sca-api/src/main/java/org/oasisopen/sca/RequestContext.java deleted file mode 100644 index d12648a795..0000000000 --- a/java/sca/modules/sca-api/src/main/java/org/oasisopen/sca/RequestContext.java +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright(C) OASIS(R) 2005,2009. All Rights Reserved. - * OASIS trademark, IPR and other policies apply. - */ -package org.oasisopen.sca; - -import javax.security.auth.Subject; - -/** - * Interface that provides information on the current request. - * - * @version $Rev$ $Date$ - */ -public interface RequestContext { - /** - * Returns the JAAS Subject of the current request. - * - * @return the Subject of the current request - */ - Subject getSecuritySubject(); - - /** - * Returns the name of the service that was invoked. - * - * @return the name of the service that was invoked - */ - String getServiceName(); - - /** - * Returns a CallableReference for the service that was invoked by the caller. - * - * @param <B> the Java type of the business interface for the reference - * @return a CallableReference for the service that was invoked by the caller - */ - <B> ServiceReference<B> getServiceReference(); - - /** - * Returns a type-safe reference to the callback provided by the caller. - * - * @param <CB> the Java type of the business interface for the callback - * @return a type-safe reference to the callback provided by the caller - */ - <CB> CB getCallback(); - - /** - * Returns a CallableReference to the callback provided by the caller. - * - * @param <CB> the Java type of the business interface for the callback - * @return a CallableReference to the callback provided by the caller - */ - <CB> ServiceReference<CB> getCallbackReference(); -} |