Search:

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

Search: Search took 0.03 seconds.

  1. I have the same problem - did you find a solution?

    I have the same problem - did you find a solution?
  2. Replies
    1
    Views
    1,346

    @Transactional advice order

    When using @Transactional, how do I control in which order the transactional advice and other aspects are applied?

    I am aware of the Ordered interface, which I can use for the aspects I implement...
  3. Replies
    2
    Views
    1,527

    In the schema at...

    In the schema at http://www.springframework.org/schema/aop/spring-aop.xsd the config element has an proxyTargetClass attribute.
    In the spring-aop.xsd file in the dist folder of the m4 distribution...
  4. Replies
    2
    Views
    1,527

    Forgot to mention I'm using 2.0m4. Just tried to...

    Forgot to mention I'm using 2.0m4.
    Just tried to use m3 instead. With that I don't get this error. It fails because asm cannot read the class file of my advice, but I'll try to investigate that a...
  5. Replies
    2
    Views
    1,527

    proxyTargetClass not allowed in aop:config

    Hi.

    I have an bean definitions file, which works as expected in my unittests, but when I try to deploy my application on Tomcat, and the same bean definitions file is loaded by a...
  6. Replies
    9
    Views
    1,251

    Sorry for the late reply, but yes, I do find this...

    Sorry for the late reply, but yes, I do find this behaviour somewhat odd.

    Now that I know how it works it dosn't matter much, but what was really annoing was, that this bean definition


    <bean...
  7. Don't know about that classpathxml object. What I...

    Don't know about that classpathxml object. What I normally do is:

    BeanFactory bFac = new CassPathXmlApplicationContext("ApplicationContext.xml");
    MyBean bean = bFac.getBean("myBean");

    Other...
  8. Replies
    9
    Views
    1,251

    I just don't believe this can be the intention,...

    I just don't believe this can be the intention, so I opened another Jira issue: http://opensource.atlassian.com/projects/spring/browse/SPR-1867
  9. Replies
    9
    Views
    1,251

    It dosn't normally behave like this. When I...

    It dosn't normally behave like this. When I remove the AOP stuff i do get a cglib class-proxy. It is only after adding the <aop:config> Spring decided to use a jdk proxy...
  10. Replies
    9
    Views
    1,251

    Yes, that helped. Thanks, Andreas, you saved...

    Yes, that helped.

    Thanks, Andreas, you saved my day - again :-)

    I still don't understand why Spring chooses to create a proxy which implements A_TestBeanIF, when that interface isn't mentioned...
  11. Replies
    9
    Views
    1,251

    Implementing interface changes type of proxy

    Using Spring 2.0M3

    I have this little test, which works like a charm:



    public class A_Test extends TestCase {

    BeanFactory bFac;
  12. Thread: Advice order

    by clanie
    Replies
    0
    Views
    737

    Advice order

    Hi.

    Is there any way to control the order in which aspects are applied?

    I have this AOP configuratione:



    <aop:config>
    <aop:pointcut id="facadeMethods" expression="execution(*...
  13. Replies
    5
    Views
    1,921

    Of course, yes! Thank you.

    Of course, yes!
    Thank you.
  14. Replies
    5
    Views
    1,921

    I don't think so. Class#getMethod requires the...

    I don't think so.
    Class#getMethod requires the method name and an array of argument classes.
    The name I can get from the JoinPoint: jp.getSignature().getName().
    I can also get the actual...
  15. Replies
    11
    Views
    3,755

    With a configuration like this, is advice applied...

    With a configuration like this, is advice applied in any particular order?
    If not, is there any way to specify the order?
  16. Replies
    5
    Views
    1,921

    Getting annotations of target method.

    Hi.

    I'm just getting started with Spring 2.0 AOP, and need a little help.

    My aspect and test bean is declared as follows:


    <aop:config>
    <aop:aspect id="beforeAdviceBindingTests"...
  17. Replies
    11
    Views
    3,324

    Make Spring use the right classloader.

    Seems to me that Spring must be using the context classloader.

    I found this in the Eclipse documentation:

    -------------------- [Start: from Eclipse docs] ---------------------

    FAQ 107 – How...
Results 1 to 17 of 17