org.jboss.osgi.microcontainer
Class AbstractMicrocontainerDeployerService

java.lang.Object
  extended by org.jboss.osgi.deployment.deployer.AbstractDeployerService
      extended by org.jboss.osgi.microcontainer.AbstractMicrocontainerDeployerService
All Implemented Interfaces:
DeployerService

public abstract class AbstractMicrocontainerDeployerService
extends AbstractDeployerService

An abstract base implementation of the DeployerService that delegates to the MC provided deployer architecture. The jboss-osgi-microcontainer bundle and the jbossas integration both provide concrete implementations.

Since:
02-Nov-2009
Author:
thomas.diesler@jboss.com

Field Summary
 
Fields inherited from interface org.jboss.osgi.deployment.deployer.DeployerService
MBEAN_DEPLOYER_SERVICE
 
Constructor Summary
AbstractMicrocontainerDeployerService()
           
 
Method Summary
 void deploy(Deployment[] depArr)
          Deploy an array of bundles
 void deploy(java.net.URL url)
          Deploy bundle from URL
abstract  BundleContext getBundleContext()
           
abstract  org.jboss.deployers.client.spi.main.MainDeployer getMainDeployer()
           
 void undeploy(Deployment[] depArr)
          Undeploy an array of bundles
 void undeploy(java.net.URL url)
          Undeploy bundle from URL.
 
Methods inherited from class org.jboss.osgi.deployment.deployer.AbstractDeployerService
createDeployment, createDeployment, createDeployment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractMicrocontainerDeployerService

public AbstractMicrocontainerDeployerService()
Method Detail

getMainDeployer

public abstract org.jboss.deployers.client.spi.main.MainDeployer getMainDeployer()

getBundleContext

public abstract BundleContext getBundleContext()

deploy

public void deploy(java.net.URL url)
            throws BundleException
Description copied from interface: DeployerService
Deploy bundle from URL

Throws:
BundleException

undeploy

public void undeploy(java.net.URL url)
              throws BundleException
Description copied from interface: DeployerService
Undeploy bundle from URL.

Throws:
BundleException

deploy

public void deploy(Deployment[] depArr)
            throws BundleException
Description copied from interface: DeployerService
Deploy an array of bundles

Throws:
BundleException

undeploy

public void undeploy(Deployment[] depArr)
              throws BundleException
Description copied from interface: DeployerService
Undeploy an array of bundles

Throws:
BundleException


Copyright © 2009. All Rights Reserved.