org.jboss.deployment.services
Class DeploymentManagerService

java.lang.Object
  extended by org.jboss.deployment.services.DeploymentManagerService
All Implemented Interfaces:
DeploymentManagerServiceMBean

public class DeploymentManagerService
extends Object
implements DeploymentManagerServiceMBean

A service that supports the JSR-88 DeploymentManager operations.

Version:
$Revision: 84628 $
Author:
Scott.Stark@jboss.org, adrian@jboss.org

Constructor Summary
DeploymentManagerService()
           
 
Method Summary
 void deploy_phase2(String url)
           
 void deploy(SerializableTargetModuleID moduleID)
           
 SerializableTargetModuleID[] getAvailableModules(int moduleType)
           
 Class getCarDeployerType()
           
 org.jboss.dependency.spi.Controller getController()
           
static String getDeploymentName(org.jboss.virtual.VirtualFile file)
          Get the deployment name
 Class getEarDeployerType()
           
 Class getEjb3DeployerType()
           
 Class getEjbDeployerType()
           
 org.jboss.deployers.plugins.main.MainDeployerImpl getMainDeployer()
           
 Map getModuleMap()
           
 Class getRarDeployerType()
           
 File getUploadDir()
           
 Class getWarDeployerType()
           
 void hack(SerializableTargetModuleID moduleID, org.jboss.deployers.structure.spi.DeploymentContext info, String method)
           
 boolean isDeleteOnUndeploy()
           
 boolean isFailOnCollision()
           
 void setCarDeployerType(Class carDeployerType)
           
 void setController(org.jboss.dependency.spi.Controller controller)
           
 void setDeleteOnUndeploy(boolean deleteOnUndeploy)
           
 void setEarDeployerType(Class earDeployerType)
           
 void setEjb3DeployerType(Class ejb3DeployerType)
           
 void setEjbDeployerType(Class ejbDeployerType)
           
 void setFailOnCollision(boolean failOnCollision)
           
 void setMainDeployer(org.jboss.deployers.plugins.main.MainDeployerImpl mainDeployer)
           
 void setModuleMap(Map<String,SerializableTargetModuleID> moduleMap)
           
 void setRarDeployerType(Class rarDeployerType)
           
 void setUploadDir(File uploadDir)
           
 void setWarDeployerType(Class warDeployerType)
           
 void start(String url)
           
 void stop(String url)
           
 void undeploy(String url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeploymentManagerService

public DeploymentManagerService()
Method Detail

getDeploymentName

public static String getDeploymentName(org.jboss.virtual.VirtualFile file)
Get the deployment name

Parameters:
file - the file
Returns:
the name;

getMainDeployer

public org.jboss.deployers.plugins.main.MainDeployerImpl getMainDeployer()
Specified by:
getMainDeployer in interface DeploymentManagerServiceMBean

setMainDeployer

public void setMainDeployer(org.jboss.deployers.plugins.main.MainDeployerImpl mainDeployer)
Specified by:
setMainDeployer in interface DeploymentManagerServiceMBean

getController

public org.jboss.dependency.spi.Controller getController()
Specified by:
getController in interface DeploymentManagerServiceMBean

setController

public void setController(org.jboss.dependency.spi.Controller controller)
Specified by:
setController in interface DeploymentManagerServiceMBean

getCarDeployerType

public Class getCarDeployerType()
Specified by:
getCarDeployerType in interface DeploymentManagerServiceMBean

setCarDeployerType

public void setCarDeployerType(Class carDeployerType)
Specified by:
setCarDeployerType in interface DeploymentManagerServiceMBean

getEarDeployerType

public Class getEarDeployerType()
Specified by:
getEarDeployerType in interface DeploymentManagerServiceMBean

setEarDeployerType

public void setEarDeployerType(Class earDeployerType)
Specified by:
setEarDeployerType in interface DeploymentManagerServiceMBean

getEjbDeployerType

public Class getEjbDeployerType()
Specified by:
getEjbDeployerType in interface DeploymentManagerServiceMBean

setEjbDeployerType

public void setEjbDeployerType(Class ejbDeployerType)
Specified by:
setEjbDeployerType in interface DeploymentManagerServiceMBean

getEjb3DeployerType

public Class getEjb3DeployerType()
Specified by:
getEjb3DeployerType in interface DeploymentManagerServiceMBean

setEjb3DeployerType

public void setEjb3DeployerType(Class ejb3DeployerType)
Specified by:
setEjb3DeployerType in interface DeploymentManagerServiceMBean

getRarDeployerType

public Class getRarDeployerType()
Specified by:
getRarDeployerType in interface DeploymentManagerServiceMBean

setRarDeployerType

public void setRarDeployerType(Class rarDeployerType)
Specified by:
setRarDeployerType in interface DeploymentManagerServiceMBean

getWarDeployerType

public Class getWarDeployerType()
Specified by:
getWarDeployerType in interface DeploymentManagerServiceMBean

setWarDeployerType

public void setWarDeployerType(Class warDeployerType)
Specified by:
setWarDeployerType in interface DeploymentManagerServiceMBean

setModuleMap

public void setModuleMap(Map<String,SerializableTargetModuleID> moduleMap)

getUploadDir

public File getUploadDir()
Specified by:
getUploadDir in interface DeploymentManagerServiceMBean

setUploadDir

public void setUploadDir(File uploadDir)
Specified by:
setUploadDir in interface DeploymentManagerServiceMBean

isDeleteOnUndeploy

public boolean isDeleteOnUndeploy()
Specified by:
isDeleteOnUndeploy in interface DeploymentManagerServiceMBean

setDeleteOnUndeploy

public void setDeleteOnUndeploy(boolean deleteOnUndeploy)
Specified by:
setDeleteOnUndeploy in interface DeploymentManagerServiceMBean

isFailOnCollision

public boolean isFailOnCollision()
Specified by:
isFailOnCollision in interface DeploymentManagerServiceMBean

setFailOnCollision

public void setFailOnCollision(boolean failOnCollision)
Specified by:
setFailOnCollision in interface DeploymentManagerServiceMBean

getModuleMap

public Map getModuleMap()
Specified by:
getModuleMap in interface DeploymentManagerServiceMBean

deploy

public void deploy(SerializableTargetModuleID moduleID)
            throws Exception
Specified by:
deploy in interface DeploymentManagerServiceMBean
Throws:
Exception

hack

public void hack(SerializableTargetModuleID moduleID,
                 org.jboss.deployers.structure.spi.DeploymentContext info,
                 String method)

start

public void start(String url)
           throws Exception
Specified by:
start in interface DeploymentManagerServiceMBean
Throws:
Exception

deploy_phase2

public void deploy_phase2(String url)
                   throws Exception
Throws:
Exception

stop

public void stop(String url)
          throws Exception
Specified by:
stop in interface DeploymentManagerServiceMBean
Throws:
Exception

undeploy

public void undeploy(String url)
              throws Exception
Specified by:
undeploy in interface DeploymentManagerServiceMBean
Throws:
Exception

getAvailableModules

public SerializableTargetModuleID[] getAvailableModules(int moduleType)
                                                 throws javax.enterprise.deploy.spi.exceptions.TargetException
Specified by:
getAvailableModules in interface DeploymentManagerServiceMBean
Throws:
javax.enterprise.deploy.spi.exceptions.TargetException


Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.