Hi,

The SMX spec project heavily use OSGiLocater class to retrieve impl class from META-INF/services/*, it hack the FactoryLocator class in the spec api to let OSGiLocater kick in and load the correct impl class from available impl bundle in OSGi container, for an instance, take a look at [1] to get more details.

[1]https://svn.apache.org/repos/asf/servicemix/smx4/specs/trunk/stax-api-1.2/src/main/java/javax/xml/stream/FactoryLocator.java
Freeman
On 2012-2-2, at 上午12:47, MarkS1900 wrote:


Can anyone direct me to sample code using this ServiceMix OSGiLocater class
to retrieve a META-INF/services/* resource?

--
View this message in context: 
http://servicemix.396122.n5.nabble.com/OSGi-classpath-getResources-issue-in-ServiceMix-4-4-0-tp5137185p5448070.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

---------------------------------------------
Freeman Fang

FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com









Reply via email to