Search:

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

Search: Search took 0.02 seconds.

  1. Vain search for xerces triggered by funny DOM

    The ODFDOM package has META-INF configuration for its own specialized DOM.

    When I added it to my classpath, Spring imploded, looking for Xerces, which wasn't there. Is there some way to tell...
  2. Replies
    0
    Views
    742

    log control in 2.5.4

    In 2.0.8, a simple log4j.properties turns off spring logging that I'm not interested in. In 2.5.4, no such luck. What's the new recipe?
  3. Replies
    3
    Views
    901

    Making this concrete

    In the below, there is no smoothedModel bean until the smoother creates it. So the only way I can see to inject it is to use a factory as I have done. I suppose the factory notation is just a verbose...
  4. Replies
    3
    Views
    901

    Out of one bean, into another

    I have a bean that does some work. The work it produces is an object (class Foo) that another bean would like to consume. I don't want the consumer to have special knowledge of the producer.

    I...
  5. Replies
    1
    Views
    788

    get and set mismatch, and I can't set

    In the Apache XML resolver, setCatalogFiles takes a string, but getCatalogFiles returns a vector. Spring is looking at get and demanding that I pass a vector to set.

    Is there any way around this?
  6. Replies
    2
    Views
    857

    I found a solution

    I personally find it messy to communicate between components by adding system properties. However, I realized that by using the postprocessor OUTSIDE of the context, I could create it, load it with...
  7. Replies
    2
    Views
    857

    Progtammatic Parameterization

    I'm trying to find a clean way to turn command line arguments (or the equivalent) into ${xxx} substitutions in some bean definitions.

    It seems surprisingly convoluted to accomplish. I can use the...
  8. Doc thoughts

    Well, combine the following:

    The explanation in the guide says, very generically, that the app context classes are wonderful because they do post-processor semantics. It could mention the...
  9. That did it.

    I think there might be a doc improvement op here.
  10. PropertyPlaceConfigurer versus constructor-arg

    With the following, using GenericApplicationContext and XmlBeanDefinitionReader, the ${bt.temp.dir} is not substituted. As you can see, I've forced the right setting of lazy-init, so I don't know...
  11. Replies
    5
    Views
    1,386

    I'm not explaining myself very clearly. I think...

    I'm not explaining myself very clearly. I think that my question here derives from a questionable view of the IoC methodology.

    Consider a class that looks like:

    class MyBean {
    private...
  12. Replies
    5
    Views
    1,386

    More details

    Consider a bean-valued property:

    SomeClass getWhatsit() {
    }

    I want to inject a property into the default SomeClass object, not replace it with an entirely new one. This is not necessarily...
  13. Replies
    5
    Views
    1,386

    overriding a bean definition

    given some

    <bean id='a' class='a.b.c'>...</bean>

    Can a later definition revise or add to the properties of 'a'?

    That is

    <bean id='a'>
    <some other properties>
  14. I tried using the scroll() method on a Criteria,...

    I tried using the scroll() method on a Criteria, and it still tried to fetch the entire universe. Perhaps I'm confused about find versus load? I will try the Query from the link you sent.
  15. lazy collection in top level fetch with Hibernate

    I have a very large table. I need to iterate through it. I'm confused.

    I used the hibernate reverse engineering tool from eclipse to generate Spring DAO objects, and I didn't get any of the...
  16. Replies
    3
    Views
    1,486

    Prop editor

    By reading the source, I indeed discovered the 'setValue' trick for PropertyEditors.
  17. How about a reusable list of other beans?

    How about a way to create a <list> of <bean>'s that is reusable?
  18. Replies
    3
    Views
    1,486

    SimpleTypeConverter , how to define/use

    I want to allow a property that takes an object of type 'a' to accept a bean of type 'b'. It looks like the SimpleTypeConverter is the appropriate device, but I can't see any documentation that...
  19. AbstractSingleBeanDefinitionParser and subelements

    I defined a bean element in my custom schema to have an element inside it.

    I don't get any validation errors, but the Element passed to my parser has no children. Where'd the child go?
  20. Replies
    1
    Views
    1,060

    spring.schemas not taking effect for me

    This is in xsi:schemaLocation:

    http://basistech.com/schema/sws http://basistech.com/schema/btsws.xsd

    This is in the xsd targetNamespace:

    http://basistech.com/schema/sws

    This is in...
Results 1 to 20 of 20