Author: antelder
Date: Wed Feb 18 21:30:12 2009
New Revision: 745664
URL: http://svn.apache.org/viewvc?rev=745664&view=rev
Log:
Update some comments
Modified:
tuscany/java/sca/modules/stripes/src/main/java/org/apache/tuscany/sca/stripes/TuscanyInterceptor.java
tuscany/java/sca/modules/stripes/src/main/java/org/apache/tuscany/sca/stripes/TuscanyInterceptorSupport.java
Modified:
tuscany/java/sca/modules/stripes/src/main/java/org/apache/tuscany/sca/stripes/TuscanyInterceptor.java
URL:
http://svn.apache.org/viewvc/tuscany/java/sca/modules/stripes/src/main/java/org/apache/tuscany/sca/stripes/TuscanyInterceptor.java?rev=745664&r1=745663&r2=745664&view=diff
==============================================================================
---
tuscany/java/sca/modules/stripes/src/main/java/org/apache/tuscany/sca/stripes/TuscanyInterceptor.java
(original)
+++
tuscany/java/sca/modules/stripes/src/main/java/org/apache/tuscany/sca/stripes/TuscanyInterceptor.java
Wed Feb 18 21:30:12 2009
@@ -28,9 +28,9 @@
/**
- * <p>An {...@link Interceptor} that uses a Spring context to inject Spring
beans into newly created
- * ActionBeans immediately following ActionBeanResolution. For more
information on how the injection
- * is performed see {...@link TuscanyHelper#injectBeans(Object,
+ * <p>An {...@link Interceptor} that uses the implementation.web
ComponentContext to inject reference
+ * proxies into newly created ActionBeans immediately following
ActionBeanResolution. For more
+ * information on how the injection is performed see {...@link
TuscanyHelper#injectBeans(Object,
* net.sourceforge.stripes.action.ActionBeanContext)}.</p>
*
* <p>To configure the TuscanyInterceptor for use you will need to add the
following to your
@@ -57,15 +57,15 @@
/**
* Allows ActionBean resolution to proceed and then once the ActionBean
has been
- * located invokes the {...@link TuscanyHelper} to perform Spring based
dependency injection.
+ * located invokes the {...@link TuscanyHelper} to perform SCA reference
injection.
*
* @param context the current execution context
* @return the Resolution produced by calling context.proceed()
- * @throws Exception if the Spring binding process produced unrecoverable
errors
+ * @throws Exception if the Tuscany injection process produced
unrecoverable errors
*/
public Resolution intercept(ExecutionContext context) throws Exception {
Resolution resolution = context.proceed();
- log.debug("Running Spring dependency injection for instance of ",
+ log.debug("Running Tuscany dependency injection for instance of ",
context.getActionBean().getClass().getSimpleName());
TuscanyHelper.injectBeans(context.getActionBean(),
context.getActionBeanContext());
return resolution;
Modified:
tuscany/java/sca/modules/stripes/src/main/java/org/apache/tuscany/sca/stripes/TuscanyInterceptorSupport.java
URL:
http://svn.apache.org/viewvc/tuscany/java/sca/modules/stripes/src/main/java/org/apache/tuscany/sca/stripes/TuscanyInterceptorSupport.java?rev=745664&r1=745663&r2=745664&view=diff
==============================================================================
---
tuscany/java/sca/modules/stripes/src/main/java/org/apache/tuscany/sca/stripes/TuscanyInterceptorSupport.java
(original)
+++
tuscany/java/sca/modules/stripes/src/main/java/org/apache/tuscany/sca/stripes/TuscanyInterceptorSupport.java
Wed Feb 18 21:30:12 2009
@@ -29,7 +29,9 @@
* <p>Base class for developing Interceptors with dependencies on SCA
component references. <b>Not</b>
* to be confused with {...@link TuscanyInterceptor} which injects SCA
reference proxies into
* ActionBeans. For example, you may wish to subclass this class in order to
write an
- * interceptor with access to Spring managed DAOs or security information.</p>
+ * interceptor with access to Tuscany ???.</p>
+ *
+ * TODO: does Tuscany really need this?
*
* <p>Since Interceptors are long-lived objects that are instantiated at
application startup
* time, and not per-request, the Tuscany wiring takes place in the init()
method and happens