org.ops4j.pax.radman.service.bundleManager.internal.containerUpgrade
Class ContainerUpgradeJobServiceImpl
java.lang.Object
org.ops4j.pax.radman.service.bundleManager.internal.containerUpgrade.ContainerUpgradeJobServiceImpl
- All Implemented Interfaces:
- ContainerUpgradeJobService, JobService<ContainerUpgradeJobParam>
public final class ContainerUpgradeJobServiceImpl
- extends java.lang.Object
- implements ContainerUpgradeJobService
TODO:
- Authentication when downloading zip url
- Clean up thrown exception.
- Use LOGGER to sent event
- Since:
- 0.1.0
- Author:
- Edward Yakop
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SERVICE_ID
public static final java.lang.String SERVICE_ID
ContainerUpgradeJobServiceImpl
public ContainerUpgradeJobServiceImpl(org.osgi.framework.BundleContext aContext)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
start
public final void start()
dispose
public final void dispose()
getJobServiceId
public final java.lang.String getJobServiceId()
- Returns the job service id. This method must not return
null.
- Specified by:
getJobServiceId in interface JobService<ContainerUpgradeJobParam>
- Returns:
- The job id.
- Since:
- 0.1.0
execute
public final void execute(ContainerUpgradeJobParam aParam)
throws JobException
- Execute this job with specified
param.
- Specified by:
execute in interface JobService<ContainerUpgradeJobParam>
- Parameters:
aParam - The job parameter.
- Throws:
JobException - Thrown if there is job execution error.- Since:
- 0.1.0
Copyright © 2008. All Rights Reserved.