Class ScriptDependencyResolver
- java.lang.Object
-
- org.apache.sling.scripting.sightly.impl.utils.ScriptDependencyResolver
-
- All Implemented Interfaces:
EventListener
,org.apache.sling.api.resource.observation.ExternalResourceChangeListener
,org.apache.sling.api.resource.observation.ResourceChangeListener
,org.osgi.framework.BundleListener
public class ScriptDependencyResolver extends Object implements org.apache.sling.api.resource.observation.ResourceChangeListener, org.apache.sling.api.resource.observation.ExternalResourceChangeListener, org.osgi.framework.BundleListener
-
-
Field Summary
Fields Modifier and Type Field Description static String
BUNDLED_SCRIPTS_REQUIREMENT
-
Constructor Summary
Constructors Constructor Description ScriptDependencyResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
bundleChanged(org.osgi.framework.BundleEvent event)
void
onChange(@NotNull List<org.apache.sling.api.resource.observation.ResourceChange> changes)
org.apache.sling.api.resource.Resource
resolveScript(org.apache.sling.scripting.sightly.render.RenderContext renderContext, String scriptIdentifier)
-
-
-
Field Detail
-
BUNDLED_SCRIPTS_REQUIREMENT
public static final String BUNDLED_SCRIPTS_REQUIREMENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
resolveScript
public org.apache.sling.api.resource.Resource resolveScript(org.apache.sling.scripting.sightly.render.RenderContext renderContext, String scriptIdentifier)
-
onChange
public void onChange(@NotNull @NotNull List<org.apache.sling.api.resource.observation.ResourceChange> changes)
- Specified by:
onChange
in interfaceorg.apache.sling.api.resource.observation.ResourceChangeListener
-
bundleChanged
public void bundleChanged(org.osgi.framework.BundleEvent event)
- Specified by:
bundleChanged
in interfaceorg.osgi.framework.BundleListener
-
-