Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » Spring OSGI version in virgo 3.5.0.M4
Spring OSGI version in virgo 3.5.0.M4 [message #871799] Mon, 14 May 2012 22:26 Go to next message
Mastah Naleh is currently offline Mastah NalehFriend
Messages: 32
Registered: April 2012
Member
I'm not sure which version of spring OSGI is used in virgo.

To be more specific can you do that in virgo 3.5.0.M4 :
<osgi:reference id="logEngine" interface="logger.engine.ILogEngine" cardinality="0..1" availability="optional" timeout="30" />

The option optional seem to come with spring-osgi >= 2.0.0

The xsd I'm using is www springframework.org/schema/osgi/spring-osgi-2.0-m1.xsd.
The bundle seem to start, but still throw exception when the service is not present, and work just fine when the service is present. Since I would like to have an optional service, the 'availability="optional"' option could probably help me. But I'm not sure if it's already available with virgo yet.

Thanks.
Re: Spring OSGI version in virgo 3.5.0.M4 [message #871802 is a reply to message #871799] Mon, 14 May 2012 22:36 Go to previous messageGo to next message
Mastah Naleh is currently offline Mastah NalehFriend
Messages: 32
Registered: April 2012
Member
To be more precise : That was probably (or still called) spring-dm.
Re: Spring OSGI version in virgo 3.5.0.M4 [message #872178 is a reply to message #871802] Tue, 15 May 2012 15:41 Go to previous messageGo to next message
Mastah Naleh is currently offline Mastah NalehFriend
Messages: 32
Registered: April 2012
Member
Anyone got a clue on the matter ?
Thanks.
Re: Spring OSGI version in virgo 3.5.0.M4 [message #872230 is a reply to message #872178] Tue, 15 May 2012 18:02 Go to previous message
Mastah Naleh is currently offline Mastah NalehFriend
Messages: 32
Registered: April 2012
Member
I've half of my answer spring-dm is now called gemini-blueprint which declare as follow:

<beans xmlns="www springframework.org/schema/beans"
xmlns:osgi="www eclipse.org/gemini/blueprint/schema/blueprint"
xsi:schemaLocation="www eclipse.org/gemini/blueprint/schema/blueprint www eclipse.org/gemini/blueprint/schema/blueprint/gemini-blueprint.xsd"
...
</beans>
Put back the http and the dot after www.
Previous Topic:How to view bundle dependency graph on Virgo
Next Topic:Virgo hangs when stopping web bundle
Goto Forum:
  


Current Time: Fri Apr 26 07:09:35 GMT 2024

Powered by FUDForum. Page generated in 0.03330 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top