Search:

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

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. I agree with the previous poster, this is not...

    I agree with the previous poster, this is not something to be configured via Spring. However, for the general question of how to tell Spring what type to use (though it is pretty good at figuring it...
  2. Replies
    9
    Views
    1,523

    How are you going to know/prove that it works if...

    How are you going to know/prove that it works if you do it that way? Someone is going to have to run your mocked-out unit tests, and take your word for it? I like cepage's suggestion of doing an...
  3. Replies
    2
    Views
    983

    Does the resounding silence mean no one else has...

    Does the resounding silence mean no one else has noticed this?

    Additional information: This isn't just a 2.0 problem. I tried with 1.2.8 and it too is considerably slower than 1.2.3; though not...
  4. Replies
    4
    Views
    1,094

    I did not say I liked the suggestion; it was...

    I did not say I liked the suggestion; it was simply a solution to your stated requirements. As for the actual implementation of it, yes, an abstract bean def would be the way to go...

    However,...
  5. Replies
    4
    Views
    1,094

    First off, there is no need to make classes...

    First off, there is no need to make classes Singletons yourself; let Spring take care of that for you.

    B. Create bean defs for the various DAOs and use the 'init-method' attribute to call load()....
  6. Replies
    2
    Views
    983

    Performance issues with 2.0-rc2?

    Is anyone else seeing performance degradation with 2.0-rc2? I recently upgraded from 1.2.3 and my app is running roughly 30% slower. I have a thread pool with a 600 thread max, each job is executed...
  7. Replies
    1
    Views
    7,239

    Nevermind...

    The error message wasn't very helpful, but it turned out to be "user error". Turns out "Foo" was not a valid enum; "FOO" was. So, the problem was that I was attempting to inject Map<String,...
  8. Replies
    1
    Views
    7,239

    Problem injecting Java 5 Generics Map

    My implementation contains the following (SettingNameMapper is a Java 5 enum):


    ...
    private Map<SettingNameMapper, Pattern> excludeRegex;
    ...
    public void setExcludeRegex( final...
  9. JIRA issue entered.

    JIRA issue entered.
  10. Replies
    3
    Views
    1,139

    Anyone...anyone?

    Anyone...anyone?
  11. Surely someone has some insight on this one?

    Surely someone has some insight on this one?
  12. Replies
    3
    Views
    1,139

    Can somene comment on this? Please.

    Can somene comment on this? Please.
  13. <logger name="org.springframework">
    <level value="info" />
    </logger>
  14. Replies
    6
    Views
    1,389

    1. If BaseService is Abstract, it's a "best...

    1. If BaseService is Abstract, it's a "best practice" to begin its name with "Abstract" (e.g. AbstractService).
    2. If ServiceImpl extends BaseService, which already implements IService, there is no...
  15. Problem getting beans recognized as "local"

    Given the following Map definition:


    <util:map id="someMap">
    ...
    </util:map>

    I want to add it to another Map I'm injecting as a property; in the same context file:
  16. Replies
    3
    Views
    1,139

    Can be used for inner beans?

    If I need a TreeMap whose entry values are also TreeMaps, can I use <util:map> for the inner TreeMaps, or do I still have to use the old, verbose method? Seems like 'id' is required, which defeats...
  17. Replies
    1
    Views
    816

    Why not put them in an actual .properties file...

    Why not put them in an actual .properties file and load them something like this:


    <property name="mappings">
    <bean class="org.springframework.beans.factory.config.PropertiesFactoryBean">
    ...
  18. Replies
    13
    Views
    26,519

    From the Reference Manual; 3.3.3.4.1. Collection...

    From the Reference Manual; 3.3.3.4.1. Collection merging

    So, there HAS to be a parent/child relationship in order to merge.

    In your example above, all you are doing is defining two different...
  19. Replies
    13
    Views
    26,519

    Did you look at the 2.0 Reference Manual? I...

    Did you look at the 2.0 Reference Manual? I think this exact example is used.
  20. Thread: nested maps?

    by jbisotti
    Replies
    2
    Views
    975

    1234567890

    It's a bit uglier with 1.2.x:


    <bean id="myMap" class="java.util.HashMap">
    <constructor-arg>
    <map>
    <entry key="foo">
    <bean class="com.foo.Bar">
    <property...
  21. Replies
    12
    Views
    2,071

    In looking over the changelogs, it appears this...

    In looking over the changelogs, it appears this is not in 1.2.7 or 1.2.8; nor is it going to be in 1.2.9 (per current JIRA report). Is this still expected to be back-ported? Thanks.
  22. Replies
    10
    Views
    23,832

    Well, searching this forum, or using Google would...

    Well, searching this forum, or using Google would probably give you what you are looking for. However, since I'm in a good mood today, here you go: http://www.jroller.com/page/kdonald. :-)
  23. Replies
    10
    Views
    23,832

    These posts are from over a year ago. With the...

    These posts are from over a year ago. With the latest 1.2.X and 2.0 versions of Spring, they are no longer applicable. Enums are handled "out of the box"; execept within collections (last time I...
  24. Replies
    5
    Views
    1,019

    So, is there a way to do this in the 1.X version?...

    So, is there a way to do this in the 1.X version? Anyone? Anyone?
  25. Replies
    5
    Views
    1,634

    Are you using Spring RCP? If not, you should...

    Are you using Spring RCP? If not, you should check it out. Also, any class can implement ApplicationContextAware and automatically be injected with the appContext.

    HTHs.
Results 1 to 25 of 37
Page 1 of 2 1 2