There is support for scoped services and beans in Blueprint and the upcoming OSGI-CDI and Scoped Services specifications. There are also various implementations (Gemini Blueprint, PAX-CDI, Weld-OSGi) that may have stuff in addition to the specifications. Is there some general consensus on the semantics when a bundle with scoped entities is restarted? F ex, assuming beans of non-exported class MyBean from bundle1 have been associated with the session scope. Bundle1 is restarted and the MyBean class is now available from the new BundleContext classloader. The existing bean instances on the existing session belong to the old classloader and thus there will be a class mismatch. Thanks Mike Wilson
_______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev
