Search:

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

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    550

    @Valid Outside of @Controller

    I realise that @Valid is currently intended for use inside an MVC Controller, however JSR303 is immensely useful for other applications too.

    Is there a manner to configure spring to allow @Valid...
  2. Replies
    2
    Views
    576

    Thanks - I've actually found it... The classpath...

    Thanks - I've actually found it... The classpath : prefix can't scan the roots of JARs from the classpath on its own; you have to use the /WEB-INF/lib/*.jar!/<filename> syntax instead (again only...
  3. Replies
    2
    Views
    576

    Context Import Weirdness

    I have a modularised application, which has a context Context-*.xml in the root of each JAR.

    The WAR project has all of these on the classpath (WEB-INF/lib as normal), but neither the...
  4. Replies
    0
    Views
    589

    Ignore @Autowired on Certain Packages

    Please bear with me; this may seem a little bizarre at first.

    I have created a custom namespace and handler, all the beans are recognised and instantiated correctly. However, as this extension is...
  5. Replies
    3
    Views
    550

    Any chance you know of a concise (if complicated)...

    Any chance you know of a concise (if complicated) reference for using the Java Security Manager? I'd rather keep it standardised wherever possible...
  6. Replies
    3
    Views
    550

    Security Use of Services

    I'm in the middle of developing a framework which houses an SPI that /may/ be contributed by 3rd parties.

    Bundles supplying elements to the SPI will need access to some of the other services in...
  7. Replies
    1
    Views
    558

    Aha. OK well, yes it will work. The downside...

    Aha.

    OK well, yes it will work. The downside is the BeanDefinitionParser gets given the root element and not the children like I was hoping...

    Is there a cleaner way?
  8. Replies
    1
    Views
    558

    Custom Namespaces - Beans Root Element?

    Hi All,

    I'm wanting to expose an extensions namespace for the application, but don't want to have to have dependence on Spring for these extensions. When loaded into the context the beans will be...
  9. Replies
    3
    Views
    728

    A slight extension to this; must custom...

    A slight extension to this; must custom namespaces always be contained in Spring's Bean root element? I'm wanting to expose an extensions mechanism without exposing the spring internal nature to...
  10. Replies
    11
    Views
    1,465

    That was it.... so Spring-DM 2.0-M1 has the...

    That was it.... so Spring-DM 2.0-M1 has the problem then? I actually could have sworn I picked 1.2.1 from the list anyway... Thanks for the assistance Glyn.
  11. Replies
    11
    Views
    1,465

    Unfortunately the test case bundle has no...

    Unfortunately the test case bundle has no relation to the desired system...

    OK I've thinned this out, and can get it to fail... Absolutely no idea why...

    It fails within or without the PAR, but...
  12. Replies
    11
    Views
    1,465

    Erk, not doing very well at this am I... OK,...

    Erk, not doing very well at this am I...


    OK, I've started a new Bundle from scratch and can't get it to fail. The console (correctly) just sits there saying waiting for service...
  13. Replies
    11
    Views
    1,465

    D'oh... yes... Here you go; those bundles are...

    D'oh... yes...

    Here you go; those bundles are just models and exceptions but you're right :).

    The new zip contains the exported binary bundles and an additional sources zip.
  14. Replies
    11
    Views
    1,465

    My mistake. Please find attached by bundles...

    My mistake.

    Please find attached by bundles (exported as is from STS 2.3.0 + dmTools nightly).

    They fail either deployed individually or as part of a PAR.
  15. Replies
    11
    Views
    1,465

    problems

    This is becoming a habit, sorry...

    I've been trying to use dm Server and declarative services to provide an SPI, bundles present a service to a host bundle which has a selection mechanism and...
  16. Replies
    5
    Views
    1,114

    Ah... I was taught that Import-Bundle was...

    Ah... I was taught that Import-Bundle was better... I'll stand corrected. Thanks for the assistance.
  17. Replies
    5
    Views
    1,114

    OK, isn't direct bundle imports 'better' rather...

    OK, isn't direct bundle imports 'better' rather than magic selection by the platform? I mean, thanks yes this works fantastic... but is this the optimal or recommended method?
  18. Replies
    5
    Views
    1,114

    SLF Logging - Am I Being Incredibly Stupid??

    Hi,

    I've been trying to get a simple SLF logging bundle up, but failing miserably...


    package logtest;

    import org.osgi.framework.BundleActivator;
    import org.osgi.framework.BundleContext;...
  19. Excellent, thank you Christian -- works a treat....

    Excellent, thank you Christian -- works a treat.

    --ShadowR
  20. Sorry Christian, have you managed to get anywhere?

    Sorry Christian, have you managed to get anywhere?
  21. Other forum post reference:...

    Other forum post reference:
    http://forum.springsource.org/showthread.php?t=80010
  22. Christian, Yes its definitely Windows-only, as...

    Christian,

    Yes its definitely Windows-only, as with you it works perfectly with my MBP and Snow Leopard. I've been able to reproduce with Vista too.

    Paths as requested:
    STS Install;...
  23. Windows 7 - Unable to download bundles from Enterprise Repository to local DM Server

    Hi,

    Hope someone can help; its not a massive problem but irritating as STS and DM Tools are otherwise fantastic...

    Environment:
    Windows 7 x64
    Java 1.6.0_18 32-bit
    STS 2.3.0.RELEASE 32-bit...
Results 1 to 23 of 23