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

org.objectweb.dream.control.lifecycle.BeforeFirstStartLifeCycle Maven / Gradle / Ivy

Go to download

Dream Annotation is an extension of Fraclet Annotation 2.0 to generate code related to activities managed in Dream Components. It adds the following annotations : @DreamComponent, @DreamMonolog and @DreamLifeCycle. This version adds inheritance for the @DreamMonolog annotation.

The newest version!
/**
 * Dream
 * Copyright (C) 2003-2004 INRIA Rhone-Alpes
 *
 * This library 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 of the License, or (at your option) any later version.
 *
 * This library 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 library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 * Contact: [email protected]
 *
 * Initial developer(s): Pierre Garcia
 * Contributor(s): 
 */

package org.objectweb.dream.control.lifecycle;

import org.objectweb.fractal.api.Component;
import org.objectweb.fractal.api.control.IllegalLifeCycleException;

/**
 * Interface implemented by the component when it needs to process stuff before the 
 * first start of the component.
 */
public interface BeforeFirstStartLifeCycle
{
  /**
   * This method is called the first time the component is started.
   * 
   * @param componentItf the {@link Component }interface of this component.
   */
  void _beforeFirstStart(Component componentItf)
      throws IllegalLifeCycleException;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy