public class Seam2Processor extends Object implements DeploymentUnitProcessor
Modifier and Type | Field and Description |
---|---|
static org.jboss.modules.ModuleIdentifier |
EXT_CONTENT_MODULE |
static String |
SEAM_COMPONENTS |
static String |
SEAM_COMPONENTS_META_INF |
static String |
SEAM_COMPONENTS_WEB_INF |
static String[] |
SEAM_FILES |
static String |
SEAM_INT_JAR |
static String |
SEAM_PROPERTIES |
static String |
SEAM_PROPERTIES_META_INF |
static String |
SEAM_PROPERTIES_WEB_INF |
static org.jboss.modules.ModuleIdentifier |
VFS_MODULE |
Constructor and Description |
---|
Seam2Processor(org.jboss.msc.service.ServiceTarget serviceTarget) |
Modifier and Type | Method and Description |
---|---|
void |
deploy(DeploymentPhaseContext phaseContext)
Perform a single step in processing the deployment phase.
|
protected ResourceRoot |
getSeamIntResourceRoot()
Lookup Seam integration resource loader.
|
void |
undeploy(DeploymentUnit context)
Undo the deployment processing.
|
public static final String SEAM_PROPERTIES
public static final String SEAM_PROPERTIES_META_INF
public static final String SEAM_PROPERTIES_WEB_INF
public static final String SEAM_COMPONENTS
public static final String SEAM_COMPONENTS_META_INF
public static final String SEAM_COMPONENTS_WEB_INF
public static final String[] SEAM_FILES
public static final String SEAM_INT_JAR
public static final org.jboss.modules.ModuleIdentifier EXT_CONTENT_MODULE
public static final org.jboss.modules.ModuleIdentifier VFS_MODULE
public Seam2Processor(org.jboss.msc.service.ServiceTarget serviceTarget)
protected ResourceRoot getSeamIntResourceRoot() throws DeploymentUnitProcessingException
DeploymentUnitProcessingException
- for any errorpublic void deploy(DeploymentPhaseContext phaseContext) throws DeploymentUnitProcessingException
DeploymentUnitProcessor
Data stored on the phase context only exists until the end of the phase. The deployment unit context
which is persistent is available via context.getDeploymentUnitContext()
.
deploy
in interface DeploymentUnitProcessor
phaseContext
- the deployment unit contextDeploymentUnitProcessingException
- if an error occurs during processingpublic void undeploy(DeploymentUnit context)
DeploymentUnitProcessor
deploy()
; however, if
the deploy()
method added services, they need not be removed here (they will automatically be removed).
This method should avoid throwing exceptions; any exceptions thrown are logged and ignored. Implementations of this
method cannot assume that the deployment process has (or has not) proceeded beyond the current processor, nor can they
assume that the undeploy()
method will be called from the same thread as the deploy()
method.
undeploy
in interface DeploymentUnitProcessor
context
- the deployment unit contextCopyright © 2023 JBoss by Red Hat. All rights reserved.