All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jboss.as.server.deployment.package-info Maven / Gradle / Ivy

The newest version!
/*
 * JBoss, Home of Professional Open Source.
 * Copyright 2010, Red Hat, Inc., and individual contributors
 * as indicated by the @author tags. See the copyright.txt file in the
 * distribution for a full listing of individual contributors.
 *
 * This is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; either version 2.1 of
 * the License, or (at your option) any later version.
 *
 * This software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this software; if not, write to the Free
 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
 */

/**
 * The JBossAS domain deployment subsystem classes.
 * 

* Deployment of a unit (typically an archive) has a number of distinct phases. *

    *
  1. Phase 0: Domain Controller. This phase runs on the domain controller to perform a first-pass validation of all * descriptors and other meta-information in the deployment unit.
      *
    1. Deployment Type Identification. The type of deployment is identified, so that the proper validation sequence * and deployer chain can be selected.
    2. *
    3. Descriptor Validation. All descriptors in the deployment are initially validated. This typically will entail a * simple XSD validation, plus a limited degree of structural validation.
    4. *
    5. Domain Deployment. This phase runs on the domain controller to install the validated deployment unit into the * domain model itself, and coordinate the distribution of the domain update to the relevant servers, using the deployment * plan to coordinate distribution appropriately.
    6. *
  2. *
  3. Phase 1: Server Deployment Preprocessing. This phase runs on the individual server to prepare a deployment * unit for execution. After this phase, the "parent" service for the deployment item and the service corresponding to * the virtual file mount are available.
      *
    1. Deployment Type Check. If the deployment type corresponds to a subsystem that is not present in the * current profile, log a message and do no further processing.
    2. *
    3. Deployment Mount. Mount the deployment unit into the Virtual File System.
    4. *
  4. *
  5. Phase 2: Server Deployment Unit Processing. This phase runs on the individual server to process the * deployment unit into actual deployment items. No service batch is active during this phase.
      *
    1. Deployment Processing. In this phase, the chain of {@link DeploymentUnitProcessor}s which is associated * with the deployment unit type are executed over the deployment unit to parse any descriptors, add them to the * {@link DeploymentUnit}, transform them, and/or convert them into {@link DeploymentItem}s. These {@code DeploymentItem}s * represent the deployed state of the deployment unit.
    2. *
  6. *
  7. Phase 3: Installation. In this phase the deployment items are actually executed and added to a service * batch, causing their corresponding services to be resolved and started up.
  8. *
*

* The deployment items corresponding to a deployment unit are started, stopped, and removed by way of a unit-wide * dependency service. */ package org.jboss.as.server.deployment;





© 2015 - 2024 Weber Informatics LLC | Privacy Policy