Search:

Type: Posts; User: joni.loky; Keyword(s):

Search: Search took 0.03 seconds.

  1. Multiple endpoint listening to a single event.

    Yeap that's exactly what i wanna do! jeje
    I'm using Spring with Mule and i would like to configure Mule to raise a single event and have multiple "vm://" endpoints listen to it, catch it, and...
  2. Thread: LTW + Spring

    by joni.loky
    Replies
    9
    Views
    1,405

    Where should I set that? I tried setting it as a...

    Where should I set that? I tried setting it as a VM parameter in eclipse when I start my tomcat server but nothing happens.
  3. FIXED IT!!!!!!!! REMEMBER BOYS AND...

    FIXED IT!!!!!!!!
    REMEMBER BOYS AND GIRLS.......when you configure your ContextLoaderPlugIn in the struts-config.xml file provide an XML in which you declare only your actions. If you provide your...
  4. OpenSessionInViewFilter. Why does it work for everyone except me? :S

    I can't get OpenSessionInViewFilter to work. I'm posting the configuration to see if maybe you guys can help me. THNX!
    I'm using spring+hibernate+struts
    It fails at: for (Iterator<Peticion>...
  5. Thread: LTW + Spring

    by joni.loky
    Replies
    9
    Views
    1,405

    Thanks spiff. Hey, is there a way to specify a...

    Thanks spiff. Hey, is there a way to specify a different folder for my aop.xml file?
  6. Thread: LTW + Spring

    by joni.loky
    Replies
    9
    Views
    1,405

    THNX...actually it was left overs from when I was...

    THNX...actually it was left overs from when I was trying to use CGLIB proxys
  7. Replies
    4
    Views
    928

    FIXED IT!!!!!!!! I ROCK!!!!!!!! jejejejejeje...

    FIXED IT!!!!!!!!
    I ROCK!!!!!!!!
    jejejejejeje
    It's sort of a workaround....
    getDeclaredFields(); exposes all fields including the ones LTW seems to add...
    Those Fields are of type:...
  8. Replies
    4
    Views
    928

    Ok...so here's what's happening. I'm getting a...

    Ok...so here's what's happening. I'm getting a list of fields in the object i'm making a copy of by calling:
    Field[] fields = myClass.getDeclaredFields();

    this is what the array looks like:...
  9. Replies
    4
    Views
    928

    Turns out it's got something to do with...

    Turns out it's got something to do with reflection. Still trying to figure it out.
    I'm getting:

    java.lang.IllegalAccessException: Field is final

    while trying to get a copy of a bean.
  10. Replies
    4
    Views
    928

    LTW + static/final

    Hi, does anyone know of any restriction/special configuration for LTW when it comes to static/final attributes/methods/classes?

    Thnx!
  11. Thread: LTW + Spring

    by joni.loky
    Replies
    9
    Views
    1,405

    FIXED IT!.....THE F****** META-INF folder needed...

    FIXED IT!.....THE F****** META-INF folder needed to be in my src/main/java folder. I had it at the same level as src.
  12. Thread: LTW + Spring

    by joni.loky
    Replies
    9
    Views
    1,405

    LTW + Spring

    Hi, I'm trying to use Load-Time Weaving with spring but I just can't get it to work.

    this is my META-INF/aop.xml file:

    <aspectj>

    <weaver>

    <!-- only weave the following classes -->...
  13. Thread: + Hibernate

    by joni.loky
    Replies
    6
    Views
    1,127

    No...It's not saves and updates i wanna log. I...

    No...It's not saves and updates i wanna log. I wanna log the work my beans are doing. I guess I'll have to look into Weaving at compile time with AspectJ. Thnx!
  14. Thread: + Hibernate

    by joni.loky
    Replies
    6
    Views
    1,127

    I don't wanna inject my Hibernate objects with a...

    I don't wanna inject my Hibernate objects with a bean that logs. I'm using Aspects so that before and after every method is called logging would take place. The problem I'm having is that my...
  15. Thread: + Hibernate

    by joni.loky
    Replies
    6
    Views
    1,127

    Tnkx! I don't know if i understood it right but,...

    Tnkx!
    I don't know if i understood it right but, If I add an @Configured annotation to my beans, <context: spring-configured/> to my spring-beans.xml file and spring-aspects.jar to my project, then...
  16. Thread: + Hibernate

    by joni.loky
    Replies
    6
    Views
    1,127

    + Hibernate

    I'm usign Spring+Hibernate+@AspectJ and i configured a few pointcuts so that every time a method is call there'd be a console output as a form of logging what's happening. The problem i'm having is...
Results 1 to 16 of 16