Search:

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

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Replies
    9
    Views
    1,654

    You are correct in that a FactoryBean gives you...

    You are correct in that a FactoryBean gives you only one object type, which seems to satisfy my current requirement but isn't as flexible as what you are suggesting..

    I can't seem to find any link...
  2. Replies
    9
    Views
    1,654

    Thanks all. I just used a factoryBean to do my...

    Thanks all.
    I just used a factoryBean to do my decryption.

    Dipita
  3. Replies
    9
    Views
    1,654

    Thanks for responding. I am sorry but I am not...

    Thanks for responding.

    I am sorry but I am not clear - how do I use a custom beanPostProcessor to do this?

    Thanks!
    Dipita
  4. Replies
    9
    Views
    1,654

    I tried to use FieldRetrievingFactoryBean but it...

    I tried to use FieldRetrievingFactoryBean but it doesn't seem to work - below is my code: Any idea what I am doing wrong?

    Bean Definition:

    <bean id="passwordWrapper.PASSWORD"...
  5. Replies
    9
    Views
    1,654

    How to inject a field value from another bean

    Hi,
    I am trying to create a bean that will decrypt a string field that is passed in as a property value. I then want to inject this decrypted password field (say a string) into another bean. Is...
  6. Replies
    4
    Views
    5,756

    axis2 can't find spring applicationContext.

    Hi,
    I am using axis2 for my web-service which also has spring bundled in it.. I specified the following in my services.xml file for the web-service:
    <code>

    <parameter...
  7. Replies
    1
    Views
    3,322

    sqlMapClientTemplate and stored procedures

    Hi,
    I am using sqlMapClientTemplate with Ibatis - I am trying to call a stored procedure from my code like this:



    Long outParamter = (Long)...
  8. HI all, Thanks for all the great suggestions and...

    HI all,
    Thanks for all the great suggestions and help! This forum ROCKS!!!

    Dipita
  9. Thanks Vayasa10: This works great. Only thing is...

    Thanks Vayasa10: This works great. Only thing is how can I prevent anyone from doing a new() on prototypeB? Is there a way to enforce it so that the object can only be instantiated from the...
  10. Hi Vasaya10, Thank you for your suggestion - so...

    Hi Vasaya10,
    Thank you for your suggestion - so far it is more compelling than real AOP for the project I am working on.. I have one question though.
    In your concrete class, do you still have...
  11. Hi Oleksandr, Thanks very much! I'll try AOP and...

    Hi Oleksandr,
    Thanks very much! I'll try AOP and see if that does the trick.

    Dipita
  12. Hi, I managed to figure out how to get method...

    Hi,
    I managed to figure out how to get method injection to work but it doesn't seem to solve my problem:


    class A { //singleton class
    String a;
    }

    class B { //prototype class
    A a;
  13. Thanks for repsonding. This is the what is...

    Thanks for repsonding.

    This is the what is happening in my environment: I am developing a module (which will probably be a .jar) which will be used as part of another application. I will specify...
  14. hi gregturn, We are developing a module that...

    hi gregturn,
    We are developing a module that could be used as a .jar in another application so I cannot intantiate it the way you are saying. I was thinking that by the time I need this data, the...
  15. Thanks gregturn! However, the thing that I am...

    Thanks gregturn!
    However, the thing that I am not understanding is how I get the ctx?

    I guess I'm unclear when I do org.springframework.context.ApplicationContext ctx = new...
  16. getting Spring-instantiated bean in a non-spring bean

    Hi, I am a little confused about how to achieve this scenario using spring:

    I have some beans that are getting instantiated during startup by the container using dependency injection. Now I need...
  17. Replies
    1
    Views
    1,347

    Hi all, I've found the solution to my problem -...

    Hi all,
    I've found the solution to my problem - my configuration files and code was correct. I was just calling a different configuration files that didn't have my latest files (what a dumb...
  18. Replies
    1
    Views
    1,347

    help with SqlMapClientTemplate for Ibatis

    Hi,
    We are using IBatis to implement persistence and trying to use SqlMapClientTemplate for getting to IBatis API.

    I am running into a problem in instantiating SqlMapClientTemplate correctly. We...
  19. Ibatis with Spring's DataSourceTransactionManager

    Hi all,
    We are going to use IBatis with Spring's dataSourceTransactionManager. In the spring reference, I don't have to set an specific methods for the datasourceTransactionManager (you have...
  20. HI Jorg, Thanks again for your responses. We'll...

    HI Jorg,
    Thanks again for your responses. We'll try it out and let you know if we find anything else..

    I love the support this forum has!

    Dipita
  21. From how i understood it, in order to use...

    From how i understood it, in order to use JtaTransactionManager, you'd have to use it with an app server.. Right now for my service level (small module in the application) implementation, I don't...
  22. Hi Jorg, Thanks for your replies.. I have a...

    Hi Jorg,
    Thanks for your replies.. I have a question if this scenario wuold work:

    1. Say we were to use either datasourceTransactionManger or hibernateTransactionManger for testing our service....
  23. I guess what I meant by 'local' transaction is...

    I guess what I meant by 'local' transaction is that say the overall application will be part of the global transaction (which would use say JTA,) but it could do a nested transaction for each...
  24. Replies
    3
    Views
    1,155

    Hello, well, there was an error in my...

    Hello,
    well, there was an error in my configuration file that was causing the crash.. It works as karldmoore had suggested - thanks.

    Question - what is the best practice as to where the...
  25. Hi Andrew, I'm fairly new to spring but I would...

    Hi Andrew,
    I'm fairly new to spring but I would think that you may still use the parent-child relationship but you'd have to instantiate it in the child like :



    <bean id="parent"...
Results 1 to 25 of 33
Page 1 of 2 1 2