Class PatchServiceImpl

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

    public class PatchServiceImpl
    extends Object
    implements PatchService, org.osgi.framework.SynchronousBundleListener
    • Constructor Detail

      • PatchServiceImpl

        public PatchServiceImpl()
    • Method Detail

      • setBundleContext

        public void setBundleContext​(org.osgi.framework.BundleContext bundleContext)
      • setPersistenceService

        public void setPersistenceService​(PersistenceService persistenceService)
      • postConstruct

        public void postConstruct()
      • preDestroy

        public void preDestroy()
      • bundleChanged

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

        public Patch load​(String id)
        Description copied from interface: PatchService
        Load a patch from its id
        Specified by:
        load in interface PatchService
        Parameters:
        id - the unique id of the patch
        Returns:
        the patch
      • patch

        public Item patch​(Patch patch)
        Description copied from interface: PatchService
        Apply a patch
        Specified by:
        patch in interface PatchService
        Parameters:
        patch - the patch to apply
        Returns:
        the patched item