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
        id - the unique id of the patch
        the patch
      • patch

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