Class GroovyActionListener

  • All Implemented Interfaces:
    EventListener, org.osgi.framework.BundleListener, org.osgi.framework.SynchronousBundleListener

    public class GroovyActionListener
    extends Object
    implements org.osgi.framework.SynchronousBundleListener
    An implementation of a BundleListener for the Groovy language. It will load the groovy files in the folder META-INF/cxs/actions. The description of the action will be loaded from the ActionDescriptor annotation present in the groovy file. The script will be stored in the ES index groovyAction
    • Constructor Detail

      • GroovyActionListener

        public GroovyActionListener()
    • Method Detail

      • setGroovyActionsService

        public void setGroovyActionsService​(GroovyActionsService groovyActionsService)
      • postConstruct

        public void postConstruct​(org.osgi.framework.BundleContext bundleContext)
      • preDestroy

        public void preDestroy()
      • bundleChanged

        public void bundleChanged​(org.osgi.framework.BundleEvent event)
        Specified by:
        bundleChanged in interface org.osgi.framework.BundleListener