The MainDeployer is now an implementation of the org.jboss.deployers.spi.deployment.MainDeployer interface in JBoss5. See JBoss5DeploymentFramework for details.
Use the MBean jboss.system:service=MainDeployer to
check and edit what subdeployers are installed
check and edit the deployment order based on suffix (see MainDeployerEnhancedSuffixOrder)
check if all deployments succeeded; see StartupAndDeploymentCheck
deploy or remove a new deployment not in the deployment scanner path
SubDeployers are services that know how to deploy components of a given packaging type into the jboss server.
BSHDeployer - Bean Shell scripts