You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by vi...@apache.org on 2011/12/18 18:36:56 UTC
svn commit: r1220466 -
/openejb/trunk/openejb/examples/simple-cdi-interceptor/README.md
Author: vishwanathk
Date: Sun Dec 18 17:36:55 2011
New Revision: 1220466
URL: http://svn.apache.org/viewvc?rev=1220466&view=rev
Log:
Corrected html tag nesting, alignment.
Modified:
openejb/trunk/openejb/examples/simple-cdi-interceptor/README.md
Modified: openejb/trunk/openejb/examples/simple-cdi-interceptor/README.md
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb/examples/simple-cdi-interceptor/README.md?rev=1220466&r1=1220465&r2=1220466&view=diff
==============================================================================
--- openejb/trunk/openejb/examples/simple-cdi-interceptor/README.md (original)
+++ openejb/trunk/openejb/examples/simple-cdi-interceptor/README.md Sun Dec 18 17:36:55 2011
@@ -19,7 +19,7 @@ Let's create an annotation that would "
@Retention(RUNTIME)
public @interface Log {
}
-</pre></code>
+</code></pre>
Sure, you haven't missed the @InterceptorBinding annotation above ! Now that our custom annotation is created, lets attach it (or to use a better term for it, "bind it" )
to an interceptor.
@@ -36,7 +36,7 @@ public class LoggingInterceptor {
return ctx.proceed();
}
}
-</pre></code>
+</code></pre>
Now the @Log annotation we created is bound to this interceptor.
@@ -77,18 +77,6 @@ But we'll see that in another example on
Fire up the test, and we should see a 'Entering method: getMoviesList' printed in the console.
-
-
-#Code
-
-#### Java files
-
-${javas}
-
-##### Resource files
-
-${resources}
-
#Download
[Download as zip](${zip})