On Tue, May 12, 2015 at 10:17 AM ellirael <[email protected]> wrote: > I'm trying to get blueprint service proxy inside vaadin UI. > My current solution is to create BlueprintContainer Vaadin aware servlet > with BlueprintContainer property. Then register my servlet with whiteboard > pattern injecting blueprintContainer in it. Then in UI access my service > proxies like this: > VaadinBlueprintAwareServlet vaadinServlet = (VaadinBlueprintAwareServlet) > VaadinBlueprintAwareServlet.getCurrent(); > personService = (PersonService) > vaadinServlet.getBlueprintContainer.getComponentInstance("personService"); >
You are running Vaadin inside Karaf as a regular webapp? > > > > -- > View this message in context: > http://karaf.922171.n3.nabble.com/Is-there-a-way-to-access-current-blueprint-container-tp4040301p4040320.html > Sent from the Karaf - User mailing list archive at Nabble.com. >
