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

All Known Implementing Classes:
MainDeployerImpl

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 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
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 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
DeploymentException - for not found


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