Search:

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

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    878

    lucasward, Thanks for the reply. I was aware...

    lucasward,

    Thanks for the reply. I was aware of those custom property editors, and I
    actually use them in other cases. However, I had a map I wanted to
    populate with the correct element type...
  2. Replies
    2
    Views
    878

    q: custom property editors and map elemens

    How do I configure a custom property editor such that spring will use it to
    convert the value attributes of the <map> <entry> element?

    so, I have something like:


    <bean id="beanX">
    <property...
  3. Jörg, My problem is that the prototype...

    Jörg,

    My problem is that the prototype definition contains stitching that is easily
    done by spring, but is only partial - the rest of the configuration is a result
    of user (deployment) time...
  4. Joerg Maybe I'm not explaining myself...

    Joerg


    Maybe I'm not explaining myself correctly - the bean definitions for the
    prototype instances do not exist anywhere, just the prototype definition
    itself, but I want to, at runtime,...
  5. How to create multiple beans from info external to config?

    Hi there,

    Is there a way to get Spring to look at some information outside the context
    in order to create beans dynamically?
    i.e. if I have:


    <bean id="b1">
    <property name="prop">
    ...
  6. method-lookup, CGLib, Interfaces and surprises

    [Spring 2, JDK 1.5]

    I'm having a fun time trying to get method-lookup, defined in a bean (B)
    to work with references (a property) in bean A which uses a common
    interface to multiple...
  7. Costin, Thanks, I'll add my vote... ...

    Costin,

    Thanks, I'll add my vote...

    Andreas,

    I've seen this proposal before and It may indeed help in this matter, but what
    I was after was an extension to the work that Spring is already...
  8. Status of resolution of this issue?

    All,

    I've filed an RFE as per Costin's request to match this thread, and saw that
    the issue was not even assigned. What's the best way to get traction on this
    issue (even if it means it will not...
  9. Costin, Thank you for the info - I've read...

    Costin,


    Thank you for the info - I've read this section several times and it did not seem applicable to me, since I've got a lot (well, in the tens, not hundreds)
    of beans that I wanted to be...
  10. Costin, Could you please give an example of...

    Costin,


    Could you please give an example of how you'd define the same bean twice
    and have one of these responsible for manufacturing instances of the other?

    I'm trying to blend configuration...
  11. Q: Prototypes and factories with construction arguments

    I'm at a bit of a loss about trying to set up a prototype bean, specified in
    the spring context and created by Spring using the empty constructor,
    and then, from application code get spring to use...
  12. Which, unfortunately, does not work - I get the...

    Which, unfortunately, does not work - I get the following:


    Exception in thread "main" org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from file...
  13. Costin, This is some workaround :)

    Costin,




    This is some workaround :)
  14. anyone else seen this or has a workaround?

    anyone else seen this or has a workaround?
  15. Relative paths in import not resolved properly if application context uses '..' in it

    import path location resolution breaks if the containing application context was itself loaded using
    a path that contains '..' as the first component of the path. That is, if the application...
  16. Alan, No, I think this time, we're both on the...

    Alan,

    No, I think this time, we're both on the same page :).

    This just means that the current registry design is there to stay, and it
    would not benefit from using Spring. Since I'm rather a...
  17. Re: Runtime Property Configuration using injection question

    I'm not sure I've explained correctly (or otherwise, that I understand your
    response :oops:). I suppose what I'm asking is what should I replace my
    legacy code mentioned in my post with - is there...
  18. Runtime Property Configuration using injection question

    I'm having a conceptual (?) problem with properties and injection:

    I'm converting a legacy system to use spring and have done a lot of
    DI using Spring to great effect, removing a lot of...
  19. Replies
    2
    Views
    2,520

    anyone?

    anyone?
  20. Replies
    2
    Views
    2,520

    confused about factory beans

    I am confused about the usage of FactoryBeans and BeanFactories:

    I am attempting to setup a singleton factory bean (really more like a registry),
    which is configured with multiple prototype...
  21. Replies
    3
    Views
    2,115

    protected setter methods?

    I apologize if this has been answered before.

    I've run a search and could not find any matching result, but surely this
    must have come up before - why can't I declare the setter methods of
    bean...
  22. Re: Afraid not..

    Thanks for the info. I was afraid this would be the answer. Regarding your
    solution, another question (or 2), if I may:
    How are you modeling (or solving the problem of) relations?
    How do you...
  23. Re: Domain Proxying

    Arik,



    Was this ever resolved?

    I'm in the process of migrating the server side of
    an existing application, and would like the Web UI aspect to remain the
    same. For reasons which are not...
  24. Replies
    10
    Views
    2,068

    Re: Class typed keys

    OK, found the right syntax. One needs to specify java.lang.Class
    as the type and the actual class as the value.
  25. Replies
    10
    Views
    2,068

    Class typed keys

    Note: Spring 1.2

    I'm trying to set the keys of the map as class types, but get a type
    mismatch conversion exception. My bean file looks like:


    <map>
    <entry>
    ...
Results 1 to 25 of 32
Page 1 of 2 1 2