Search:

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

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    991

    Proxy Bean issue

    I am actually implementing an interface that has two methods.

    @Before("execution(* com.foo.bar.Bar.isRunning()")

    isRunning is a method on the interface that is implemented by the Bar class. ...
  2. Replies
    2
    Views
    991

    Proxy bean issue

    I've searched the forum for a solution to this but found nothing... Maybe someone else can shed some light on this.

    I am using an annotated Aspect class with a simple @Before that outputs to the...
  3. Replies
    1
    Views
    741

    Spring AOP advice

    I have been looking in the documentation and have not been able to find an example for this situation below:

    I have an expression that I am using as a point cut :

    (* foo.bar.Bar()) and...
  4. Replies
    12
    Views
    5,130

    Spring AOP with Tomcat

    Ok. I used the empty constructor and everything is working fine. Thanks everyone for answering my questions. I guess I was just looking for a work around trying to avoid empty constructors...
  5. Replies
    12
    Views
    5,130

    Spring AOP with Tomcat

    Yes, I am implementing an interface. So if I have a class I want to inspect that extends an abstract class and that abstract class implements an interface, do I still need an empty constructor? ...
  6. Replies
    12
    Views
    5,130

    Spring AOP with Tomcat

    Alright..... But I shouldn't have to do that if I have interfaces. According to the documentation. Can someone point me to documentation on why this has to work this way? It just doesn't seem to...
  7. Replies
    12
    Views
    5,130

    Spring AOP with Tomcat

    Alright I have that working with Tomcat now. But, I get this error and have searched online (probably in the wrong location) and found nothing.

    Initialization of bean failed; nested exception is...
  8. Replies
    12
    Views
    5,130

    Spring AOP with Tomcat

    I was actually looking more at using the "Schema based AOP support". Now, I don't understand clearly but in using this approach do I still need to declare my Apsect class like the following:
    ...
  9. Replies
    12
    Views
    5,130

    Spring AOP with Tomcat

    Can someone tell me what I need to do in order to get Spring AOP working with Tomcat? I get the exception below:
    Unexpected exception parsing XML document from class path resource [Aspects.xml];...
Results 1 to 9 of 9