Class BindingsValuesProvidersByContextImpl

  • All Implemented Interfaces:
    org.apache.sling.scripting.api.BindingsValuesProvidersByContext, org.osgi.util.tracker.ServiceTrackerCustomizer

    public class BindingsValuesProvidersByContextImpl
    extends java.lang.Object
    implements org.apache.sling.scripting.api.BindingsValuesProvidersByContext, org.osgi.util.tracker.ServiceTrackerCustomizer
    Our default BindingsValuesProvidersByContext implementation
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String[] DEFAULT_CONTEXT_ARRAY  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void activate​(org.osgi.service.component.ComponentContext ctx)  
      java.lang.Object addingService​(org.osgi.framework.ServiceReference reference)  
      void deactivate​(org.osgi.service.component.ComponentContext ctx)  
      java.util.Collection<org.apache.sling.scripting.api.BindingsValuesProvider> getBindingsValuesProviders​(javax.script.ScriptEngineFactory scriptEngineFactory, java.lang.String context)  
      void modifiedService​(org.osgi.framework.ServiceReference reference, java.lang.Object service)  
      void removedService​(org.osgi.framework.ServiceReference reference, java.lang.Object service)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • DEFAULT_CONTEXT_ARRAY

        public static final java.lang.String[] DEFAULT_CONTEXT_ARRAY
    • Constructor Detail

      • BindingsValuesProvidersByContextImpl

        public BindingsValuesProvidersByContextImpl()
    • Method Detail

      • activate

        public void activate​(org.osgi.service.component.ComponentContext ctx)
      • deactivate

        public void deactivate​(org.osgi.service.component.ComponentContext ctx)
      • getBindingsValuesProviders

        public java.util.Collection<org.apache.sling.scripting.api.BindingsValuesProvider> getBindingsValuesProviders​(javax.script.ScriptEngineFactory scriptEngineFactory,
                                                                                                                      java.lang.String context)
        Specified by:
        getBindingsValuesProviders in interface org.apache.sling.scripting.api.BindingsValuesProvidersByContext
      • addingService

        public java.lang.Object addingService​(org.osgi.framework.ServiceReference reference)
        Specified by:
        addingService in interface org.osgi.util.tracker.ServiceTrackerCustomizer
      • modifiedService

        public void modifiedService​(org.osgi.framework.ServiceReference reference,
                                    java.lang.Object service)
        Specified by:
        modifiedService in interface org.osgi.util.tracker.ServiceTrackerCustomizer
      • removedService

        public void removedService​(org.osgi.framework.ServiceReference reference,
                                   java.lang.Object service)
        Specified by:
        removedService in interface org.osgi.util.tracker.ServiceTrackerCustomizer