Hello rience,
you are right. Adding the missing other Listeners solves the problem.
Thank you! :)
regards,
Mark
Type: Posts; User: mmayer; Keyword(s):
Hello rience,
you are right. Adding the missing other Listeners solves the problem.
Thank you! :)
regards,
Mark
Hello
I have a Dao extending JpaDaoSupport and wrote a JUnit test for it:
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = { "/spring-context.xml" })
@Transactional...
Hello Oleg,
thank you for your answer. With method injection I got it working for my first scenario. This is how I use it now:
BundleA
- has an interface "functiontest.Function" and...
Hello,
in a multi-user-environment I would like to export one factory-object as OSGi-Service from BundleA. This factory should be imported as service by other bundles to be used to create some...
Hello Oleksandr,
with your example I get it working with only one file. Nice trick with the PropertySetter: I modified it, to not overwriting existing system-properties, so they will be passed if...
This would be very helpful! :)
Thank you in advance.
regards,
Mark
Hello Oleksandr,
I tried it with two files, but I can't get it working:
<bean id="propertiesLocationConfig"
...
I tried:
<bean id="propertiesLocationConfig"
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="systemPropertiesModeName">
...
Version 2.5.4.A is OSGi-ready:
www . springsource . com/repository/app/bundle/version/detail?name=org.springframework.core&version=2.5.4.A
(sorry, I am not allowed to use a real link...)
...
I use spring 2.5.4.A.
Now I tried this:
<bean id="propertiesLocationConfig"
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property...
Hello Oleksandr,
I read in the forum and also tried it with two PropertyPlaceholderConfigurers:
<bean id="propertiesLocationConfig"
...
Hello,
I use a PropertyPlaceholderConfigurer to enable the configuration of some properties from a properties-file.
Now I would like to enable overwriting the default-location of the...
Hello chelu,
this looks very good. Thank you!
regards,
Mark
Hello chelu,
I think that this is not working, because the two classes need different properties to be set.
Hmm, I will try to use an own FactoryBean.
regards
Mark
Hello
I have to deploy an application which uses a datasource. This datasource should be configurable outside of spring.
I know about to use a PropertiesPlaceholderConfigurer to enable the...
Hallo Costin,
thank you for your reply. I read your hints about fragment bundles and using them can be the solution.
This will result in multiple fragment-bundles: one per variant. I have a...
Hello,
I'm new to Spring Dynamic Modules and have a question about using different configuration variants of the same application. I would like to have a application as one monolithic variant and...
Hello all,
I work on an application which uses runtime-interpreted informations. Depending on such information I have to dynamically create and provide application-components. Additional the...