Like this:

    <service id="vaadinServletMappingService"
interface="org.ops4j.pax.web.extender.whiteboard.ServletMapping">
        <bean
class="org.ops4j.pax.web.extender.whiteboard.runtime.DefaultServletMapping">
            <property name="servlet" ref="vaadinServlet" />
            <property name="initParams">
                <map>
                    <entry key="UI" value="p.MainUI" />
                </map>
            </property>
            <property name="loadOnStartup" value="1" />
            <property name="urlPatterns">
                <array>
                    <value>/niichi/*</value>
                </array>
            </property>
        </bean>
    </service>
    <bean id="playerView" class="p.PlayerView" scope="prototype">
        <argument ref="playerService" />
    </bean>

And then in UI created by Vaadin I request playerView bean from Blueprint
container.



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Is-there-a-way-to-access-current-blueprint-container-tp4040301p4040402.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to