[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jboss-cvs-commits
Subject:    [jboss-cvs] jboss-aop/docs aop.html
From:       Bill Burke <patriot1burke () users ! sourceforge ! net>
Date:       2003-05-31 6:01:23
[Download RAW message or body]

  User: patriot1burke
  Date: 03/05/30 23:01:23

  Modified:    docs     aop.html
  Log:
  no message
  
  Revision  Changes    Path
  1.6       +5 -2      jboss-aop/docs/aop.html
  
  Index: aop.html
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-aop/docs/aop.html,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- aop.html	29 May 2003 16:54:49 -0000	1.5
  +++ aop.html	31 May 2003 06:01:22 -0000	1.6
  @@ -416,7 +416,7 @@
   <a name="declarative"/><H3>MetaData And Declarative Programming</H3>
   <p>C# has the ability to define and declare attributes that are attached to a \
class, field, or method.  <a href="http://www.jcp.org/en/jsr/detail?id=175">  JSR \
175</a> also is adding this ability in JDK 1.5.  Until then, you can do declarative \
                programming using class-metadata with JBoss
  -AOP.  You can also define interceptor-pointcuts that are automatically bound to a \
class when class-metadata is attached to the class.  +AOP.  You can also define \
interceptor or introduction pointcuts that are automatically bound to a class when \
class-metadata is attached to the class.  If you look at \
jboss-4.0/server/all/conf/base-aop.xml, you'll see that these types of metadata \
driven pointcuts are pre-defined   for the <a href="#transactions">transaction \
</a>and <a href="#security">security</a> aspects that come pre-packaged with JBoss 4. \
  @@ -438,7 +438,10 @@
   </pre>
   
   <p>So, if somebody defines transaction class-metadata the transaction interceptor \
                will automatically be bound to that
  -class.  These eases configuration considerable and allows you to do true \
declarative programming.</p>  +class.  These eases configuration considerable and \
allows you to do true declarative programming.  All you need to do in a pointcut \
definition  +(interceptor or introduction) is use the <i>group</i> attribute.  You \
can also use the <i>class</i> regular expression as  +well to narrow down your \
pointcut to classes that resolve to that regular expression that define metadata for \
a particular  +group</p>
   
   <p>We are currently adding XDoclet support for the entire JBoss AOP framework and \
you'll be able to declare metadata directly  within Java files.  JSR 175 before its \
even available with JBoss AOP!</p>  
  
  


-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
jboss-cvs-commits mailing list
jboss-cvs-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-cvs-commits


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic