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

org.objectweb.fractal.mind.adl.annotation.ADLLoaderPhase Maven / Gradle / Ivy

The newest version!
/**
 * Copyright (C) 2009 STMicroelectronics
 *
 * This file is part of "Mind Compiler" 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 3 of the 
 * License, or (at your option) any later version.
 *
 * This program 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 program.  If not, see .
 *
 * Contact: [email protected]
 *
 * Authors: Matthieu Leclercq
 * Contributors: 
 */

package org.objectweb.fractal.mind.adl.annotation;

/**
 * Enumeration to the phases of the ADL-loader chain on which an annotation
 * processor can be executed.
 * 
 * @see ADLLoaderProcessor#phases()
 * @see ADLLoaderAnnotationProcessor
 */
public enum ADLLoaderPhase {

  /**
   * Corresponds to the phase just after the ADL file has been parsed and
   * annotations validated.
   */
  AFTER_PARSING,

  /**
   * Corresponds to the phase just after the resolution of extended ADLs.
   */
  AFTER_EXTENDS,

  /**
   * Corresponds to the phase after every checking has been performed on ADL
   * definition.
   */
  AFTER_CHECKING,

  /**
   * Allows to execute the annotation processor if the annotation is present on
   * the definition of a sub-component. 
* The definition parameter passed to the * ADLLoaderAnnotationProcessor is the definition of the composite component, * and the node parameter is the component node for which the * definition has the annotation. */ ON_SUB_COMPONENT }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy