Search:

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

Search: Search took 0.02 seconds.

  1. Hello rience, you are right. Adding the...

    Hello rience,

    you are right. Adding the missing other Listeners solves the problem.

    Thank you! :)

    regards,
    Mark
  2. test with extended DependencyInjectionTestExecutionListener

    Hello

    I have a Dao extending JpaDaoSupport and wrote a JUnit test for it:


    @RunWith(SpringJUnit4ClassRunner.class)
    @ContextConfiguration(locations = { "/spring-context.xml" })
    @Transactional...
  3. Replies
    2
    Views
    1,724

    Hello Oleg, thank you for your answer. With...

    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...
  4. Replies
    2
    Views
    1,724

    Service as factory for prototypes

    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...
  5. Hello Oleksandr, with your example I get it...

    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...
  6. This would be very helpful! :) Thank you in...

    This would be very helpful! :)
    Thank you in advance.

    regards,
    Mark
  7. Hello Oleksandr, I tried it with two...

    Hello Oleksandr,



    I tried it with two files, but I can't get it working:


    <bean id="propertiesLocationConfig"
    ...
  8. I tried:

    I tried:


    <bean id="propertiesLocationConfig"
    class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
    <property name="systemPropertiesModeName">
    ...
  9. Version 2.5.4.A is OSGi-ready: www ....

    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...)

    ...
  10. I use spring 2.5.4.A. Now I tried this: ...

    I use spring 2.5.4.A.

    Now I tried this:


    <bean id="propertiesLocationConfig"
    class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
    <property...
  11. Hello Oleksandr, I read in the forum and also...

    Hello Oleksandr,

    I read in the forum and also tried it with two PropertyPlaceholderConfigurers:


    <bean id="propertiesLocationConfig"
    ...
  12. overwrite location of PropertyPlaceholderConfigurer in xml-configuration

    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...
  13. Hello chelu, this looks very good. Thank you!...

    Hello chelu,

    this looks very good. Thank you!

    regards,
    Mark
  14. Hello chelu, I think that this is not working,...

    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
  15. PropertiesPlaceholderConfigurer to avoid bean creation

    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...
  16. Replies
    3
    Views
    1,113

    Hallo Costin, thank you for your reply. I read...

    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...
  17. Replies
    3
    Views
    1,113

    different configurations of bundles?

    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...
  18. Replies
    0
    Views
    653

    q: dynamic created remote components

    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...
Results 1 to 18 of 18