<div class="gmail_quote">On Sun, Apr 4, 2010 at 2:24 AM, Lincoln Baxter, III <span dir="ltr"><<a href="mailto:lincolnbaxter@gmail.com">lincolnbaxter@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"><div>On Sun, Apr 4, 2010 at 1:00 AM, Jason
Porter <span dir="ltr"><<a href="http://lightguard.jp" target="_blank">lightguard.jp</a>@<a href="http://gmail.com" target="_blank">gmail.com</a>></span> wrote:</div></div><div class="im"><blockquote style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex" class="gmail_quote">
<div>As a consumer I would love to
see all qualifiers/annotations/interceptors/decorators/etc in the
same package, it just makes things easier to find when you're looking
for classes or javadoc. This is also probably easier for people
migrating from Seam2 to understand how to easily migrate.</div></blockquote>
<br></div>Exactly! -- We should add decorators to the naming conventions established for interceptors:<br><br>Regardless of module, the following naming standards should be followed for Interceptors and Decorators:<br><br>
org.jboss.seam.intercept.[name]Interceptor;<br>
org.jboss.seam.decorate.[name]Decorator;<br></blockquote><div><br></div><div>I do agree we can make a different case for interceptors and decorators as we do for qualifiers, events and other annotations. Interceptors and decorators need to be easy to type in XML, whereas qualifiers, events and other annotations just need to be IDE friendly (and can have a more variant classification structure).</div>
<div><br></div><div>While I've submitted my support for convention Lincoln suggests above, I'm also open to adding the module short name:</div><div><br></div><div>org.jboss.seam.[module].intercept.[name]Interceptor</div>
<div>org.jboss.seam.[module].intercept.[name]Interceptor</div><div><br></div><div>I do think we should agree on one of these two proposals for interceptors and decorators specifically.</div><div><br></div><div>-Dan</div><div>
<br></div></div>-- <br>Dan Allen<br>Senior Software Engineer, Red Hat | Author of Seam in Action<br>Registered Linux User #231597<br><br><a href="http://mojavelinux.com">http://mojavelinux.com</a><br><a href="http://mojavelinux.com/seaminaction">http://mojavelinux.com/seaminaction</a><br>
<a href="http://www.google.com/profiles/dan.j.allen">http://www.google.com/profiles/dan.j.allen</a><br>