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...
Type: Posts; User: bmargulies; Keyword(s):
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...
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?
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...
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...
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?
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...
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...
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...
I think there might be a doc improvement op here.
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...
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...
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...
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>
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.
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...
By reading the source, I indeed discovered the 'setValue' trick for PropertyEditors.
How about a way to create a <list> of <bean>'s that is reusable?
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...
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?
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...