Search:

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

Search: Search took 0.02 seconds.

  1. Ths stack trace is just it. The rest is just from...

    Ths stack trace is just it. The rest is just from tomcat.

    What I want to do is: when an specific type of bean is found, create dinamically a new bean related to the found one.

    But where is the...
  2. Adding beans dinamically into the application context

    Is it possible to create *new* beans dinamically inside a post processor and add them to the application context?

    I tried to call beanFactory.registerBeanDefinition() inside...
  3. Replies
    4
    Views
    1,065

    Getting a Pointcut inside a BeanPostProcessor

    How can I get a reference to a Pointcut that was defined by AspectJ annotations?
    I need to do it programatically, inside a BeanPostProcessor and then check if the bean just created matches the...
  4. Thread: <util:properties>

    by ziba
    Replies
    1
    Views
    886

    View Post

    When using the schema based notation, the element <util:properties> has a "location" attribute marked as required in the xsd, so the code below is invalid:

    <util:properties...
  5. Replies
    9
    Views
    1,494

    To conclude this thread, I resolved it this way:...

    To conclude this thread, I resolved it this way:

    Changed from


    <tx:annotation-driven transaction-manager="txManager" order="2000000000"/>

    to
  6. Replies
    9
    Views
    1,494

    I have many aspects that must be executed at a...

    I have many aspects that must be executed at a specified order, so I put the order in static constants, I don't want that information scattered around many xml files...

    Using a properties file...
  7. Replies
    9
    Views
    1,494

    Yes, I can use to set a bean...

    Yes, I can use <util:constant> to set a bean *property* not an *attribute*!

    So the code below is not valid:

    <util:constant id="txAspectOrder"...
  8. Replies
    9
    Views
    1,494

    Thanks! I didn't noticed it before, my IDE was...

    Thanks! I didn't noticed it before, my IDE was lying to me...

    My problem now is how to put the aspect order from a static field into an attribute! If only it was a property...

    It seems that I...
  9. Replies
    9
    Views
    1,494

    Unfortunately not...

    Unfortunately not...
  10. Replies
    9
    Views
    1,494

    Transaction aspect order

    I'm using Spring 2.0 declarative transactions with <tx:annotation-driven/> and want an interceptor to be called *before* commit.

    The problem is that the "order" property of the transaction aspect...
Results 1 to 10 of 10