Results 1 to 3 of 3

Thread: Auto-Discovery of @Aspect

  1. #1
    Join Date
    Feb 2008
    Posts
    4

    Default Auto-Discovery of @Aspect

    using spring 2.5, there doesn't seem to be a way to auto-discover aspect annotations... so although I can remove all xml and use a classpath scan for initialization there doesn't appear to be a way to leverage the @Aspect beans I have with an XML description...

    first, am I missing something?
    second, any plans to support this? It seems like a reasonable next step. Especially since you can use an exclude filter is you need it.

    Additionally I tried making an @Aspect class a @Component thinking that would register it as a spring bean. No Joy! and it feels bad as well so don't let that be the option of support.

    ken

  2. #2
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,626

    Default

    JIRA is for requests/bugs/etc/ not the forum. Register a JIRA issues with your suggestion...
    Marten Deinum
    Java Consultant / Pragmatist / Open Source Enthousiast / Author


    Pro Spring MVC: With Web Flow
    Conspect

    Have you read the reference guide.
    Use the [ code ] tags, young padawan

  3. #3
    Join Date
    Feb 2008
    Posts
    4

    Default

    I thought it might be wise to see if I was missing something before submitting to jira

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •