public class BundleTaskCreator extends Object implements InternalService, InstallTaskFactory, org.osgi.framework.FrameworkListener, org.osgi.framework.BundleListener
Constructor and Description |
---|
BundleTaskCreator() |
Modifier and Type | Method and Description |
---|---|
void |
bundleChanged(org.osgi.framework.BundleEvent event) |
InstallTask |
createTask(TaskResourceGroup resourceList)
Create a bundle task - install, update or remove
|
void |
deactivate() |
void |
frameworkEvent(org.osgi.framework.FrameworkEvent event) |
protected BundleInfo |
getBundleInfo(String symbolicName,
String version) |
String |
getDescription() |
void |
init(org.osgi.framework.BundleContext bc,
ResourceChangeListener listener,
RetryHandler retryHandler) |
public void init(org.osgi.framework.BundleContext bc, ResourceChangeListener listener, RetryHandler retryHandler)
init
in interface InternalService
InternalService.init(org.osgi.framework.BundleContext, org.apache.sling.installer.api.ResourceChangeListener, RetryHandler)
public void deactivate()
deactivate
in interface InternalService
InternalService.deactivate()
public void frameworkEvent(org.osgi.framework.FrameworkEvent event)
frameworkEvent
in interface org.osgi.framework.FrameworkListener
FrameworkListener.frameworkEvent(org.osgi.framework.FrameworkEvent)
public void bundleChanged(org.osgi.framework.BundleEvent event)
bundleChanged
in interface org.osgi.framework.BundleListener
BundleListener.bundleChanged(org.osgi.framework.BundleEvent)
public String getDescription()
getDescription
in interface InternalService
InternalService.getDescription()
public InstallTask createTask(TaskResourceGroup resourceList)
createTask
in interface InstallTaskFactory
InstallTaskFactory.createTask(org.apache.sling.installer.api.tasks.TaskResourceGroup)
protected BundleInfo getBundleInfo(String symbolicName, String version)
Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.