Hi Mehrotra

Thanks for the pointer! As I understand the code the main approach is
finding the relevant bundles by analysing the imported and exported
packages.

Cheers
michael

2013/1/16 Chetan Mehrotra <[email protected]>:
>> - Do you know of (simple) libraries that use classpath scanning and
>> work in OSGi? (best practice example)
>
> You can have a look at OsgiBundleResourcePatternResolver [1] from
> Eclipse Gemini Blueprint IO Library which also does the scanning to
> lookup for annotated beans. It also takes into account the imported
> package space (see PackageAdminResolver [2])
>
> Chetan Mehrotra
> [1] 
> http://git.eclipse.org/c/gemini.blueprint/org.eclipse.gemini.blueprint.git/tree/io/src/main/java/org/eclipse/gemini/blueprint/io/OsgiBundleResourcePatternResolver.java
> [2] 
> http://git.eclipse.org/c/gemini.blueprint/org.eclipse.gemini.blueprint.git/tree/io/src/main/java/org/eclipse/gemini/blueprint/io/internal/resolver/PackageAdminResolver.java
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to