Class AnnotationBasedEventManager

    • Constructor Detail

      • AnnotationBasedEventManager

        public AnnotationBasedEventManager()
        default constructor
    • Method Detail

      • getPackages

        public abstract String[] getPackages()
        Subclass would override this to define the list of packages to perform the scan, discover and register operation
        Returns:
        packages to scan
      • activate

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

        public void deactivate​(org.osgi.service.component.ComponentContext context)
      • bindService

        protected void bindService​(IEventManager eventManager)
        Parameters:
        eventManager -
      • unbindService

        protected void unbindService​(IEventManager eventManager)
        Parameters:
        eventManager -
      • scan

        protected void scan()
        Perform scan, discover and register of annotated classes