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...
Type: Posts; User: ShadowR; Keyword(s):
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...
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...
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...
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...
Any chance you know of a concise (if complicated) reference for using the Java Security Manager? I'd rather keep it standardised wherever possible...
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...
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?
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...
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...
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.
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...
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...
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.
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.
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...
Ah... I was taught that Import-Bundle was better... I'll stand corrected. Thanks for the assistance.
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?
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;...
Excellent, thank you Christian -- works a treat.
--ShadowR
Sorry Christian, have you managed to get anywhere?
Other forum post reference:
http://forum.springsource.org/showthread.php?t=80010
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;...
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...