org.jboss.osgi.deployer
Class BundleStartLevelDeployer

java.lang.Object
  extended by org.jboss.deployers.spi.deployer.helpers.AbstractDeployer
      extended by org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer
          extended by org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer<org.osgi.framework.Bundle>
              extended by org.jboss.osgi.deployer.BundleStartLevelDeployer
All Implemented Interfaces:
org.jboss.deployers.spi.deployer.Deployer, org.jboss.deployers.spi.Ordered

public class BundleStartLevelDeployer
extends org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer<org.osgi.framework.Bundle>

Sets the bundle's start level on the StartLevel service. A start level can be given when the bundle is deployed through the WebConsole. Currently, neither hot deployment nor SPI test framework deployments support start levels.

Since:
08-Jul-2009
Author:
Thomas.Diesler@jboss.com

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jboss.deployers.spi.Ordered
org.jboss.deployers.spi.Ordered.OrderedComparator
 
Field Summary
 
Fields inherited from class org.jboss.deployers.spi.deployer.helpers.AbstractDeployer
log
 
Fields inherited from interface org.jboss.deployers.spi.Ordered
COMPARATOR
 
Constructor Summary
BundleStartLevelDeployer()
           
 
Method Summary
 void deploy(org.jboss.deployers.structure.spi.DeploymentUnit unit, org.osgi.framework.Bundle bundle)
           
 void setSystemContext(org.osgi.framework.BundleContext systemContext)
           
 
Methods inherited from class org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer
getInput, internalDeploy, internalUndeploy, undeploy
 
Methods inherited from class org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer
addControllerContextName, deploy, isControllerContextNameCandidate, isUseUnitName, putContext, removeContext, removeControllerContextName, setDeploymentRegistry, setUseUnitName, undeploy
 
Methods inherited from class org.jboss.deployers.spi.deployer.helpers.AbstractDeployer
addInput, addInput, addOutput, addOutput, addRequiredInput, addRequiredInput, getInputs, getOutput, getOutputs, getRelativeOrder, getRequiredInputs, getStage, isAllInputs, isComponentsOnly, isParentFirst, isTopLevelOnly, isWantComponents, setAllInputs, setComponentsOnly, setInput, setInputs, setInputs, setInputs, setOutput, setOutputs, setOutputs, setOutputs, setParentFirst, setRelativeOrder, setRequiredInputs, setStage, setTopLevelOnly, setWantComponents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BundleStartLevelDeployer

public BundleStartLevelDeployer()
Method Detail

setSystemContext

public void setSystemContext(org.osgi.framework.BundleContext systemContext)

deploy

public void deploy(org.jboss.deployers.structure.spi.DeploymentUnit unit,
                   org.osgi.framework.Bundle bundle)
            throws org.jboss.deployers.spi.DeploymentException
Specified by:
deploy in class org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer<org.osgi.framework.Bundle>
Throws:
org.jboss.deployers.spi.DeploymentException


Copyright © 2010. All Rights Reserved.