Commit e1dbe7b6 authored by Lionel Seinturier's avatar Lionel Seinturier

Deprecated

parent 827c3457
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.ow2.frascati.tinfi</groupId>
<artifactId>frascati-tinfi-runtime-parent</artifactId>
<version>1.2.1-SNAPSHOT</version>
</parent>
<groupId>org.ow2.frascati.tinfi</groupId>
<artifactId>frascati-tinfi-runtime-oo-dyn</artifactId>
<packaging>jar</packaging>
<name>Tinfi Runtime OO Dynamic</name>
<dependencies>
<dependency>
<groupId>org.ow2.frascati.tinfi</groupId>
<artifactId>frascati-tinfi-runtime</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.objectweb.fractal.juliac</groupId>
<artifactId>juliac-compiler</artifactId>
<version>${juliac.version}</version>
</dependency>
</dependencies>
</project>
/***
* OW2 FraSCAti Juliac
* Copyright (C) 2007-2010 INRIA, USTL
*
* 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: frascati@ow2.org
*
* Author: Lionel Seinturier
*/
package org.ow2.frascati.tinfi;
import org.objectweb.fractal.api.Component;
import org.objectweb.fractal.api.Type;
import org.objectweb.fractal.juliac.runtime.Juliac;
/**
* The Fractal provider class for Juliac in the COMP optimization level.
*
* This Fractal provider returns a bootstrap component with a type-factory,
* a generic-factory and a membrane-factory interface.
*
* @author Lionel Seinturier <Lionel.Seinturier@univ-lille1.fr>
* @since 0.5
*/
public class Tinfi extends Juliac {
public Tinfi() {
super();
}
/**
* Return the reference of the bootstrap component.
*/
@Override
public Component newFcInstance(
Type type, Object controllerDesc, Object contentDesc ) {
if( bootstrap == null ) {
bootstrap = new TinfiBootstrapComponentImpl();
}
return bootstrap;
}
/** The singleton instance of the bootstrap component. */
private static Component bootstrap;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment