org.ops4j.pax.radman.service.bundleManager.internal.containerUpgrade
Class ContainerUpgradeJobServiceImpl

java.lang.Object
  extended by 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:

Since:
0.1.0
Author:
Edward Yakop

Field Summary
static java.lang.String SERVICE_ID
           
 
Fields inherited from interface org.ops4j.pax.radman.service.job.JobService
JOB_SERVICE_ID
 
Constructor Summary
ContainerUpgradeJobServiceImpl(org.osgi.framework.BundleContext aContext)
           
 
Method Summary
 void dispose()
           
 void execute(ContainerUpgradeJobParam aParam)
          Execute this job with specified param.
 java.lang.String getJobServiceId()
          Returns the job service id.
 void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVICE_ID

public static final java.lang.String SERVICE_ID
Constructor Detail

ContainerUpgradeJobServiceImpl

public ContainerUpgradeJobServiceImpl(org.osgi.framework.BundleContext aContext)
                               throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException
Method Detail

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.