Class VerifyMojo.DummyDeployCallback

  • All Implemented Interfaces:
    org.apache.karaf.features.internal.region.SubsystemResolverCallback, org.apache.karaf.features.internal.service.BundleInstallSupport, org.apache.karaf.features.internal.service.Deployer.DeployCallback
    Enclosing class:
    VerifyMojo

    public static class VerifyMojo.DummyDeployCallback
    extends org.apache.karaf.features.internal.service.StaticInstallSupport
    implements org.apache.karaf.features.internal.service.Deployer.DeployCallback
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.apache.karaf.features.internal.service.BundleInstallSupport

        org.apache.karaf.features.internal.service.BundleInstallSupport.FrameworkInfo
    • Constructor Summary

      Constructors 
      Constructor Description
      DummyDeployCallback​(org.osgi.framework.Bundle sysBundle, Collection<org.apache.karaf.features.internal.model.Features> repositories)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void bundleBlacklisted​(org.apache.karaf.features.BundleInfo bundleInfo)  
      void callListeners​(org.apache.karaf.features.DeploymentEvent deployEvent)  
      void callListeners​(org.apache.karaf.features.FeatureEvent featureEvent)  
      void deleteConfigs​(org.apache.karaf.features.Feature feature)  
      org.apache.karaf.features.internal.service.Deployer.DeploymentState getDeploymentState()  
      org.osgi.framework.Bundle installBundle​(String region, String uri, InputStream is)  
      void installConfigs​(org.apache.karaf.features.Feature feature)  
      void installLibraries​(org.apache.karaf.features.Feature feature)  
      void persistResolveRequest​(org.apache.karaf.features.internal.service.Deployer.DeploymentRequest request)  
      void saveState​(org.apache.karaf.features.internal.service.State state)  
      • Methods inherited from class org.apache.karaf.features.internal.service.StaticInstallSupport

        getDataFile, getDiGraphCopy, getInfo, print, refreshPackages, replaceDigraph, resolveBundles, saveDigraph, setBundleStartLevel, startBundle, stopBundle, uninstall, unregister, updateBundle
      • Methods inherited from interface org.apache.karaf.features.internal.service.Deployer.DeployCallback

        print, refreshPackages, replaceDigraph, resolveBundles, setBundleStartLevel, startBundle, stopBundle, uninstall, updateBundle
    • Constructor Detail

      • DummyDeployCallback

        public DummyDeployCallback​(org.osgi.framework.Bundle sysBundle,
                                   Collection<org.apache.karaf.features.internal.model.Features> repositories)
    • Method Detail

      • getDeploymentState

        public org.apache.karaf.features.internal.service.Deployer.DeploymentState getDeploymentState()
      • saveState

        public void saveState​(org.apache.karaf.features.internal.service.State state)
        Specified by:
        saveState in interface org.apache.karaf.features.internal.service.Deployer.DeployCallback
      • persistResolveRequest

        public void persistResolveRequest​(org.apache.karaf.features.internal.service.Deployer.DeploymentRequest request)
        Specified by:
        persistResolveRequest in interface org.apache.karaf.features.internal.service.Deployer.DeployCallback
      • installConfigs

        public void installConfigs​(org.apache.karaf.features.Feature feature)
        Specified by:
        installConfigs in interface org.apache.karaf.features.internal.service.BundleInstallSupport
        Specified by:
        installConfigs in interface org.apache.karaf.features.internal.service.Deployer.DeployCallback
      • deleteConfigs

        public void deleteConfigs​(org.apache.karaf.features.Feature feature)
                           throws IOException,
                                  org.osgi.framework.InvalidSyntaxException
        Specified by:
        deleteConfigs in interface org.apache.karaf.features.internal.service.BundleInstallSupport
        Specified by:
        deleteConfigs in interface org.apache.karaf.features.internal.service.Deployer.DeployCallback
        Throws:
        IOException
        org.osgi.framework.InvalidSyntaxException
      • installLibraries

        public void installLibraries​(org.apache.karaf.features.Feature feature)
        Specified by:
        installLibraries in interface org.apache.karaf.features.internal.service.BundleInstallSupport
        Specified by:
        installLibraries in interface org.apache.karaf.features.internal.service.Deployer.DeployCallback
      • callListeners

        public void callListeners​(org.apache.karaf.features.FeatureEvent featureEvent)
        Specified by:
        callListeners in interface org.apache.karaf.features.internal.service.Deployer.DeployCallback
      • callListeners

        public void callListeners​(org.apache.karaf.features.DeploymentEvent deployEvent)
        Specified by:
        callListeners in interface org.apache.karaf.features.internal.service.Deployer.DeployCallback
      • installBundle

        public org.osgi.framework.Bundle installBundle​(String region,
                                                       String uri,
                                                       InputStream is)
                                                throws org.osgi.framework.BundleException
        Specified by:
        installBundle in interface org.apache.karaf.features.internal.service.BundleInstallSupport
        Specified by:
        installBundle in interface org.apache.karaf.features.internal.service.Deployer.DeployCallback
        Throws:
        org.osgi.framework.BundleException
      • bundleBlacklisted

        public void bundleBlacklisted​(org.apache.karaf.features.BundleInfo bundleInfo)
        Specified by:
        bundleBlacklisted in interface org.apache.karaf.features.internal.region.SubsystemResolverCallback