Search in sources :

Example 1 with ApplicationFactoryServiceTracker

use of org.opennms.vaadin.extender.internal.extender.ApplicationFactoryServiceTracker in project opennms by OpenNMS.

the class Activator method start.

public void start(BundleContext context) throws Exception {
    bundleContext = context;
    createAndRegisterVaadinResourceServlet();
    sessionListenerRepositoryService = bundleContext.registerService(SessionListenerRepository.class.getName(), new SessionListenerRepository(bundleContext), null);
    bundleTracker = new PaxVaadinBundleTracker(bundleContext);
    applicationFactoryServiceTracker = new ApplicationFactoryServiceTracker(bundleContext);
    bundleTracker.open();
    applicationFactoryServiceTracker.open();
}
Also used : PaxVaadinBundleTracker(org.opennms.vaadin.extender.internal.extender.PaxVaadinBundleTracker) ApplicationFactoryServiceTracker(org.opennms.vaadin.extender.internal.extender.ApplicationFactoryServiceTracker) SessionListenerRepository(org.opennms.vaadin.extender.SessionListenerRepository)

Aggregations

SessionListenerRepository (org.opennms.vaadin.extender.SessionListenerRepository)1 ApplicationFactoryServiceTracker (org.opennms.vaadin.extender.internal.extender.ApplicationFactoryServiceTracker)1 PaxVaadinBundleTracker (org.opennms.vaadin.extender.internal.extender.PaxVaadinBundleTracker)1