Search:

Type: Posts; User: Sinuhe; Keyword(s):

Search: Search took 0.03 seconds.

  1. Replies
    1
    Views
    868

    Yesterday I got the exactly same error and it was...

    Yesterday I got the exactly same error and it was driving me nuts. The problem is that my pointcut was erroneous and affected Spring classes. Try to use a very specific pointcut, including only one...
  2. Well, it worked with my only two tests: ...

    Well, it worked with my only two tests:



    public void show(String a, @SessionInject SqlSession session)
    public void show(@SessionInject SqlSession session, String a)


    Tomorrow I'll try...
  3. Hi Andy, I've found a pretty way for...

    Hi Andy,

    I've found a pretty way for achieveing this:


    @Around("execution(public * * (.., @SessionInject (*), ..))")

    I was happy, but your comment makes me hesitate. I've made some tests...
  4. Pointcut matching methods with annotated parameters

    I need to create an aspect with a pointcut matching a method if:
    - Is public
    - Its class is annotated with @Controller
    - One of its parameters (can have many) is annotated with...
Results 1 to 4 of 4