org.jboss.deployers.spi.deployer
Interface Deployers


public interface Deployers

Deployers.

Version:
$Revision: 1.1 $
Author:
Adrian Brock

Method Summary
 void checkComplete(Collection<org.jboss.deployers.structure.spi.DeploymentContext> errors, Collection<org.jboss.deployers.client.spi.Deployment> missingDeployer)
          Check all the deployments are complete
 void checkComplete(org.jboss.deployers.structure.spi.DeploymentContext... contexts)
          Check if deployments are complete
 void checkStructureComplete(org.jboss.deployers.structure.spi.DeploymentContext... contexts)
          Check if deployments are structurally complete
 Map<String,org.jboss.managed.api.ManagedObject> getManagedObjects(org.jboss.deployers.structure.spi.DeploymentContext context)
          Get the managed objects for a deployer
 void process(List<org.jboss.deployers.structure.spi.DeploymentContext> deploy, List<org.jboss.deployers.structure.spi.DeploymentContext> undeploy)
          Process deployment
 

Method Detail

getManagedObjects

Map<String,org.jboss.managed.api.ManagedObject> getManagedObjects(org.jboss.deployers.structure.spi.DeploymentContext context)
                                                                  throws org.jboss.deployers.spi.DeploymentException
Get the managed objects for a deployer

Parameters:
context - the context
Returns:
the managed objects
Throws:
org.jboss.deployers.spi.DeploymentException - for any error

process

void process(List<org.jboss.deployers.structure.spi.DeploymentContext> deploy,
             List<org.jboss.deployers.structure.spi.DeploymentContext> undeploy)
Process deployment

Parameters:
deploy - the deployments to deploy
undeploy - the deployments to remove

checkComplete

void checkComplete(Collection<org.jboss.deployers.structure.spi.DeploymentContext> errors,
                   Collection<org.jboss.deployers.client.spi.Deployment> missingDeployer)
                   throws org.jboss.deployers.spi.DeploymentException
Check all the deployments are complete

Parameters:
errors - the contexts in error
missingDeployer - the deployments missing a deployer
Throws:
org.jboss.deployers.spi.DeploymentException - when some deployment is not complete

checkComplete

void checkComplete(org.jboss.deployers.structure.spi.DeploymentContext... contexts)
                   throws org.jboss.deployers.spi.DeploymentException
Check if deployments are complete

Parameters:
contexts - the deployments
Throws:
org.jboss.deployers.spi.DeploymentException - when the deployment is not complete

checkStructureComplete

void checkStructureComplete(org.jboss.deployers.structure.spi.DeploymentContext... contexts)
                            throws org.jboss.deployers.spi.DeploymentException
Check if deployments are structurally complete

Parameters:
contexts - the deployments
Throws:
org.jboss.deployers.spi.DeploymentException - when the deployment is not complete


Copyright © 2008 JBoss Inc.. All Rights Reserved.