Class BundledScriptTracker
java.lang.Object
org.apache.sling.servlets.resolver.internal.bundle.BundledScriptTracker
- All Implemented Interfaces:
org.osgi.util.tracker.BundleTrackerCustomizer<List<org.osgi.framework.ServiceRegistration<jakarta.servlet.Servlet>>>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidactivate(org.osgi.framework.BundleContext context) List<org.osgi.framework.ServiceRegistration<jakarta.servlet.Servlet>>addingBundle(org.osgi.framework.Bundle bundle, org.osgi.framework.BundleEvent event) protected voidbindSearchPathProvider(SearchPathProvider searchPathProvider) protected voidvoidmodifiedBundle(org.osgi.framework.Bundle bundle, org.osgi.framework.BundleEvent event, List<org.osgi.framework.ServiceRegistration<jakarta.servlet.Servlet>> regs) voidremovedBundle(org.osgi.framework.Bundle bundle, org.osgi.framework.BundleEvent event, List<org.osgi.framework.ServiceRegistration<jakarta.servlet.Servlet>> regs) protected voidunbindSearchPathProvider(SearchPathProvider searchPathProvider)
-
Field Details
-
NS_SLING_SERVLET
- See Also:
-
AT_VERSION
- See Also:
-
AT_SCRIPT_ENGINE
- See Also:
-
AT_SCRIPT_EXTENSION
- See Also:
-
AT_EXTENDS
- See Also:
-
-
Constructor Details
-
BundledScriptTracker
public BundledScriptTracker()
-
-
Method Details
-
activate
protected void activate(org.osgi.framework.BundleContext context) -
deactivate
protected void deactivate() -
bindSearchPathProvider
-
unbindSearchPathProvider
-
addingBundle
public List<org.osgi.framework.ServiceRegistration<jakarta.servlet.Servlet>> addingBundle(org.osgi.framework.Bundle bundle, org.osgi.framework.BundleEvent event) - Specified by:
addingBundlein interfaceorg.osgi.util.tracker.BundleTrackerCustomizer<List<org.osgi.framework.ServiceRegistration<jakarta.servlet.Servlet>>>
-
modifiedBundle
public void modifiedBundle(org.osgi.framework.Bundle bundle, org.osgi.framework.BundleEvent event, List<org.osgi.framework.ServiceRegistration<jakarta.servlet.Servlet>> regs) - Specified by:
modifiedBundlein interfaceorg.osgi.util.tracker.BundleTrackerCustomizer<List<org.osgi.framework.ServiceRegistration<jakarta.servlet.Servlet>>>
-
removedBundle
public void removedBundle(org.osgi.framework.Bundle bundle, org.osgi.framework.BundleEvent event, List<org.osgi.framework.ServiceRegistration<jakarta.servlet.Servlet>> regs) - Specified by:
removedBundlein interfaceorg.osgi.util.tracker.BundleTrackerCustomizer<List<org.osgi.framework.ServiceRegistration<jakarta.servlet.Servlet>>>
-
getRegisteredBundles
-