Class Seam2Processor
- java.lang.Object
-
- org.jboss.as.server.deployment.integration.Seam2Processor
-
- All Implemented Interfaces:
DeploymentUnitProcessor
public class Seam2Processor extends Object implements DeploymentUnitProcessor
Recognize Seam deployments and add org.jboss.seam.int module to it.- Author:
- Ales Justin
-
-
Field Summary
Fields Modifier and Type Field Description static org.jboss.modules.ModuleIdentifierEXT_CONTENT_MODULEstatic StringSEAM_COMPONENTSstatic StringSEAM_COMPONENTS_META_INFstatic StringSEAM_COMPONENTS_WEB_INFstatic String[]SEAM_FILESstatic StringSEAM_INT_JARstatic StringSEAM_PROPERTIESstatic StringSEAM_PROPERTIES_META_INFstatic StringSEAM_PROPERTIES_WEB_INFstatic org.jboss.modules.ModuleIdentifierVFS_MODULE
-
Constructor Summary
Constructors Constructor Description Seam2Processor(org.jboss.msc.service.ServiceTarget serviceTarget)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeploy(DeploymentPhaseContext phaseContext)Perform a single step in processing the deployment phase.protected ResourceRootgetSeamIntResourceRoot()Lookup Seam integration resource loader.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jboss.as.server.deployment.DeploymentUnitProcessor
undeploy
-
-
-
-
Field Detail
-
SEAM_PROPERTIES
public static final String SEAM_PROPERTIES
- See Also:
- Constant Field Values
-
SEAM_PROPERTIES_META_INF
public static final String SEAM_PROPERTIES_META_INF
- See Also:
- Constant Field Values
-
SEAM_PROPERTIES_WEB_INF
public static final String SEAM_PROPERTIES_WEB_INF
- See Also:
- Constant Field Values
-
SEAM_COMPONENTS
public static final String SEAM_COMPONENTS
- See Also:
- Constant Field Values
-
SEAM_COMPONENTS_META_INF
public static final String SEAM_COMPONENTS_META_INF
- See Also:
- Constant Field Values
-
SEAM_COMPONENTS_WEB_INF
public static final String SEAM_COMPONENTS_WEB_INF
- See Also:
- Constant Field Values
-
SEAM_FILES
public static final String[] SEAM_FILES
-
SEAM_INT_JAR
public static final String SEAM_INT_JAR
- See Also:
- Constant Field Values
-
EXT_CONTENT_MODULE
public static final org.jboss.modules.ModuleIdentifier EXT_CONTENT_MODULE
-
VFS_MODULE
public static final org.jboss.modules.ModuleIdentifier VFS_MODULE
-
-
Method Detail
-
getSeamIntResourceRoot
protected ResourceRoot getSeamIntResourceRoot() throws DeploymentUnitProcessingException
Lookup Seam integration resource loader.- Returns:
- the Seam integration resource loader
- Throws:
DeploymentUnitProcessingException- for any error
-
deploy
public void deploy(DeploymentPhaseContext phaseContext) throws DeploymentUnitProcessingException
Description copied from interface:DeploymentUnitProcessorPerform a single step in processing the deployment phase. The resulting state after executing this method should be that either the method completes normally and all changes are made, or an exception is thrown and all changes made in this method are reverted such that the original pre-invocation state is restored.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().- Specified by:
deployin interfaceDeploymentUnitProcessor- Parameters:
phaseContext- the deployment unit context- Throws:
DeploymentUnitProcessingException- if an error occurs during processing
-
-