org.jboss.deployers.structure.spi.main
Interface MainDeployerStructure


public interface MainDeployerStructure

MainDeployerStructure.

Version:
$Revision: 1.1 $
Author:
Adrian Brock

Method Summary
 DeploymentContext getDeploymentContext(String name)
          Deprecated. 
 DeploymentContext getDeploymentContext(String name, boolean errorNotFound)
          Deprecated. 
 DeploymentUnit getDeploymentUnit(String name)
          Get a deployment unit
 DeploymentUnit getDeploymentUnit(String name, boolean errorNotFound)
          Get a deployment context
 

Method Detail

getDeploymentUnit

DeploymentUnit getDeploymentUnit(String name)
Get a deployment unit

Parameters:
name - the name of the unit
Returns:
the unit or null if not found
Throws:
IllegalArgumentException - for a null name

getDeploymentUnit

DeploymentUnit getDeploymentUnit(String name,
                                 boolean errorNotFound)
                                 throws org.jboss.deployers.spi.DeploymentException
Get a deployment context

Parameters:
name - the name of the context
errorNotFound - whether to throw an error if not found
Returns:
the context
Throws:
IllegalArgumentException - for a null name
org.jboss.deployers.spi.DeploymentException - for not found

getDeploymentContext

@Deprecated
DeploymentContext getDeploymentContext(String name)
Deprecated. 

Get a deployment context

Parameters:
name - the name of the context
Returns:
the context or null if not found
Throws:
IllegalArgumentException - for a null name

getDeploymentContext

@Deprecated
DeploymentContext getDeploymentContext(String name,
                                                  boolean errorNotFound)
                                       throws org.jboss.deployers.spi.DeploymentException
Deprecated. 

Get a deployment context

Parameters:
name - the name of the context
errorNotFound - whether to throw an error if not found
Returns:
the context
Throws:
IllegalArgumentException - for a null name
org.jboss.deployers.spi.DeploymentException - for not found


Copyright © 2008 JBoss Inc.. All Rights Reserved.