Package org.apache.karaf.tooling
Class VerifyMojo.DummyDeployCallback
- java.lang.Object
-
- org.apache.karaf.features.internal.service.StaticInstallSupport
-
- org.apache.karaf.tooling.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
-
-
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 voidbundleBlacklisted(org.apache.karaf.features.BundleInfo bundleInfo)voidcallListeners(org.apache.karaf.features.DeploymentEvent deployEvent)voidcallListeners(org.apache.karaf.features.FeatureEvent featureEvent)voiddeleteConfigs(org.apache.karaf.features.Feature feature)org.apache.karaf.features.internal.service.Deployer.DeploymentStategetDeploymentState()org.osgi.framework.BundleinstallBundle(String region, String uri, InputStream is)voidinstallConfigs(org.apache.karaf.features.Feature feature)voidinstallLibraries(org.apache.karaf.features.Feature feature)voidpersistResolveRequest(org.apache.karaf.features.internal.service.Deployer.DeploymentRequest request)voidsaveState(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
-
-
-
-
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:
saveStatein interfaceorg.apache.karaf.features.internal.service.Deployer.DeployCallback
-
persistResolveRequest
public void persistResolveRequest(org.apache.karaf.features.internal.service.Deployer.DeploymentRequest request)
- Specified by:
persistResolveRequestin interfaceorg.apache.karaf.features.internal.service.Deployer.DeployCallback
-
installConfigs
public void installConfigs(org.apache.karaf.features.Feature feature)
- Specified by:
installConfigsin interfaceorg.apache.karaf.features.internal.service.BundleInstallSupport- Specified by:
installConfigsin interfaceorg.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:
deleteConfigsin interfaceorg.apache.karaf.features.internal.service.BundleInstallSupport- Specified by:
deleteConfigsin interfaceorg.apache.karaf.features.internal.service.Deployer.DeployCallback- Throws:
IOExceptionorg.osgi.framework.InvalidSyntaxException
-
installLibraries
public void installLibraries(org.apache.karaf.features.Feature feature)
- Specified by:
installLibrariesin interfaceorg.apache.karaf.features.internal.service.BundleInstallSupport- Specified by:
installLibrariesin interfaceorg.apache.karaf.features.internal.service.Deployer.DeployCallback
-
callListeners
public void callListeners(org.apache.karaf.features.FeatureEvent featureEvent)
- Specified by:
callListenersin interfaceorg.apache.karaf.features.internal.service.Deployer.DeployCallback
-
callListeners
public void callListeners(org.apache.karaf.features.DeploymentEvent deployEvent)
- Specified by:
callListenersin interfaceorg.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:
installBundlein interfaceorg.apache.karaf.features.internal.service.BundleInstallSupport- Specified by:
installBundlein interfaceorg.apache.karaf.features.internal.service.Deployer.DeployCallback- Throws:
org.osgi.framework.BundleException
-
bundleBlacklisted
public void bundleBlacklisted(org.apache.karaf.features.BundleInfo bundleInfo)
- Specified by:
bundleBlacklistedin interfaceorg.apache.karaf.features.internal.region.SubsystemResolverCallback
-
-