Class NewJobSender

  • All Implemented Interfaces:
    org.apache.sling.api.resource.observation.ExternalResourceChangeListener, org.apache.sling.api.resource.observation.ResourceChangeListener

    public class NewJobSender
    extends Object
    implements org.apache.sling.api.resource.observation.ResourceChangeListener, org.apache.sling.api.resource.observation.ExternalResourceChangeListener
    This component receives resource added events and sends a job created event.
    • Constructor Detail

      • NewJobSender

        public NewJobSender()
    • Method Detail

      • activate

        protected void activate​(org.osgi.framework.BundleContext bundleContext)
        Activate this component. Register an event handler.
      • deactivate

        protected void deactivate()
        Deactivate this component. Unregister the event handler.
      • onChange

        public void onChange​(List<org.apache.sling.api.resource.observation.ResourceChange> resourceChanges)
        Specified by:
        onChange in interface org.apache.sling.api.resource.observation.ResourceChangeListener