Hi, yes just reference *blueprintContainer *from your beans.
regards, Achim 2015-05-12 14:21 GMT+02:00 ellirael <[email protected]>: > When I create blueprint container manually I can ger access to it: > > BlueprintContainerImpl container = new BlueprintContainerImpl(classLoader, > resourcePaths); > Foo foo = (Foo) container.getComponentInstance("foo"); > container.destroy(); > > Is there a way to access Karaf blueprint container? > > > > -- > View this message in context: > http://karaf.922171.n3.nabble.com/Is-there-a-way-to-access-current-blueprint-container-tp4040301.html > Sent from the Karaf - User mailing list archive at Nabble.com. > -- Apache Member Apache Karaf <http://karaf.apache.org/> Committer & PMC OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer & Project Lead blog <http://notizblog.nierbeck.de/> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS> Software Architect / Project Manager / Scrum Master
