Package org.eclipse.jetty.ee10.osgi.boot
Class EE10Activator.ServerTracker
java.lang.Object
org.eclipse.jetty.ee10.osgi.boot.EE10Activator.ServerTracker
- All Implemented Interfaces:
org.osgi.util.tracker.ServiceTrackerCustomizer<org.eclipse.jetty.server.Server,Object>
- Enclosing class:
EE10Activator
public static class EE10Activator.ServerTracker
extends Object
implements org.osgi.util.tracker.ServiceTrackerCustomizer<org.eclipse.jetty.server.Server,Object>
ServerTracker
Tracks appearance of Server instances as OSGi services, and then configures them
for deployment of EE10 contexts and webapps.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddingService(org.osgi.framework.ServiceReference<org.eclipse.jetty.server.Server> sr) voidmodifiedService(org.osgi.framework.ServiceReference<org.eclipse.jetty.server.Server> reference, Object service) voidremovedService(org.osgi.framework.ServiceReference<org.eclipse.jetty.server.Server> reference, Object service)
-
Constructor Details
-
ServerTracker
public ServerTracker(org.osgi.framework.Bundle bundle)
-
-
Method Details
-
addingService
public Object addingService(org.osgi.framework.ServiceReference<org.eclipse.jetty.server.Server> sr) - Specified by:
addingServicein interfaceorg.osgi.util.tracker.ServiceTrackerCustomizer<org.eclipse.jetty.server.Server,Object>
-
modifiedService
public void modifiedService(org.osgi.framework.ServiceReference<org.eclipse.jetty.server.Server> reference, Object service) - Specified by:
modifiedServicein interfaceorg.osgi.util.tracker.ServiceTrackerCustomizer<org.eclipse.jetty.server.Server,Object>
-
removedService
public void removedService(org.osgi.framework.ServiceReference<org.eclipse.jetty.server.Server> reference, Object service) - Specified by:
removedServicein interfaceorg.osgi.util.tracker.ServiceTrackerCustomizer<org.eclipse.jetty.server.Server,Object>
-