Mail Archive Home | gotm-commits List | June 2005 Index
| <-- Date Index --> | <-- Thread Index --> |
Date: Tuesday, June 28, 2005 @ 10:19:50
Author: rouvoy
Path: /cvsroot/gotm/fractal-template
Modified: .cvsignore build.xml
src/java/org/objectweb/fractal/lib/BindablePrimitive.java
Removed: src/julia/julia.cfg src/monolog/fractal.properties
* updating the BindablePrimitive abstract component.
* removing julia and monlog configuration files (now located with their
respective archive).
* updating the ant build.xml file.
-----------------------------------------------------------+
.cvsignore | 2
build.xml | 152 +-
src/java/org/objectweb/fractal/lib/BindablePrimitive.java | 8
src/julia/julia.cfg | 614 ------------
src/monolog/fractal.properties | 55 -
5 files changed, 79 insertions(+), 752 deletions(-)
Index: fractal-template/.cvsignore
diff -u fractal-template/.cvsignore:1.3 fractal-template/.cvsignore:1.4
--- fractal-template/.cvsignore:1.3 Wed Mar 2 16:25:18 2005
+++ fractal-template/.cvsignore Tue Jun 28 10:19:50 2005
@@ -1,3 +1,5 @@
build
dist
output
+alias.xml
+build.properties
Index: fractal-template/build.xml
diff -u fractal-template/build.xml:1.8 fractal-template/build.xml:1.9
--- fractal-template/build.xml:1.8 Wed Mar 2 16:25:18 2005
+++ fractal-template/build.xml Tue Jun 28 10:19:50 2005
@@ -21,107 +21,101 @@
<!-- Initial developer(s): Romain Rouvoy. -->
<!-- Contributor(s): ______________________________________. -->
-<!-- $Id: build.xml,v 1.8 2005/03/02 15:25:18 rouvoy Exp $ -->
+<!-- $Id: build.xml,v 1.9 2005/06/28 08:19:50 rouvoy Exp $ -->
<!-- ==================================================================== -->
<project name="Fractal Template" default="all">
- <description>
+ <description>
GoTM Project [gotm.objectweb.org] - Fractal Template
Fractal components skeletons provinding:
- Monolog loggers,
- - Generic binding management.
+ - Generic binding management,
+ - Client Collection Iterator.
</description>
- <!-- ==================== -->
- <!-- PROPERTY DEFINITIONS -->
- <!-- ==================== -->
- <import file="${basedir}/../fractal-import/build.xml"/>
- <property name="template.jar" value="fractal-template.jar"/>
- <property name="template.version" value="0.2"/>
- <property name="template.dist" value="FractalTemplate"/>
-
- <!-- ================ -->
- <!-- PATH DEFINITIONS -->
- <!-- ================ -->
- <path id="classpath">
- <fileset dir="${build.dir}/${lib.dir}" includes="**/*.jar"/>
- </path>
-
- <!-- ================== -->
- <!-- TARGET DEFINITIONS -->
- <!-- ================== -->
- <target name="all" description="clean + import">
- <antcall target="clean"/>
- <antcall target="import"/>
- </target>
+
+ <!-- ==================== -->
+ <!-- PROPERTY DEFINITIONS -->
+ <!-- ==================== -->
+
+ <import file="${basedir}/../fractal-import/build.xml" optional="on"/>
+ <property name="fctemplate.jar" value="fractal-template.jar"/>
+ <property name="fctemplate.version" value="0.2"/>
+ <property name="fctemplate.dist" value="FractalTemplate"/>
+
+ <property name="dist-src"
value="${fctemplate.dist}-${fctemplate.version}-src" />
+ <property name="dist-bin"
value="${fctemplate.dist}-${fctemplate.version}-bin" />
+
+ <property name="dist-src.dir" value="${dist.dir}/${dist-src}" />
+ <property name="dist-bin.dir" value="${dist.dir}/${dist-bin}" />
+
+
+ <!-- ================ -->
+ <!-- PATH DEFINITIONS -->
+ <!-- ================ -->
+
+ <path id="classpath">
+ <fileset dir="${basedir}" includes="${lib.dir}/**/*.jar"/>
+ <fileset dir="${build.dir}" includes="${lib.dir}/**/*.jar"/>
+ </path>
+
+
+ <!-- ======================= -->
+ <!-- MAIN TARGET DEFINITIONS -->
+ <!-- ======================= -->
+
+ <target name="all" description="clean + import">
+ <antcall target="clean"/>
+ <antcall target="import"/>
+ </target>
+
+ <target name="import" depends="template-build,clear"
+ description="Imports the Fractal Template module."/>
+
+ <target name="export" depends="-template-prepare"
+ description="Exports the module into the ${dist.dir} directory">
+ <mkdir dir="${dist-src.dir}" />
+ <copy todir="${dist-src.dir}">
+ <fileset dir="${basedir}" includes="**/*.*" excludes="output/**"/>
+ <fileset dir="${build.dir}" includes="**/*.*"/>
+ </copy>
+ </target>
+
+ <target name="distrib" depends="template-dist-src,template-dist-bin"
+ description="build all distributions"/>
+
+ <!-- ====================== -->
+ <!-- SUB TARGET DEFINITIONS -->
+ <!-- ====================== -->
- <target name="fractal-compile" depends="-fractal"
- description="Compiles Fractal library.">
+ <target name="-template-prepare"
depends="copy-alias,-fractal,-fractal.xdoclet"/>
+
+ <target name="template-compile" depends="-template-prepare">
<mkdir dir="${build.dir}/${class.dir}"/>
<java.c srcdir="${basedir}/${src.dir}/${java.dir}"/>
</target>
- <target name="fractal-build"
depends="-fractal.xdoclet,fractal-compile,fractal-adl"
- description="Builds Fractal framework.">
- <jar destfile="${build.dir}/${lib.dir}/${template.jar}">
- <fileset dir="${build.dir}/${class.dir}"
includes="**/*"/>
- </jar>
- </target>
-
- <target name="import" depends="fractal-build,clear"
- description="Imports the Fractal Template module."/>
+ <target name="template-build" depends="template-compile,fractal-adl">
+ <jar destfile="${build.dir}/${lib.dir}/${fctemplate.jar}">
+ <fileset dir="${build.dir}/${class.dir}" includes="**/*" />
+ </jar>
+ </target>
- <target name="fractal-jdoc" depends="-fractal"
+ <target name="template-jdoc" depends="-fractal"
description="Generates the javadoc.">
<java.doc/>
</target>
- <target name="fractal-dist-src" description="Builds the source
distribution.">
- <property name="dist-src"
value="${template.dist}-${template.version}-src" />
- <property name="dist-src.dir" value="${dist.dir}/${dist-src}" />
- <mkdir dir="${dist-src.dir}" />
- <copy todir="${dist-src.dir}" file="${basedir}/build.xml" />
- <mkdir dir="${dist-src.dir}/${src.dir}" />
- <copy todir="${dist-src.dir}/${src.dir}">
- <fileset dir="${basedir}/${src.dir}" includes="**/*" />
- </copy>
- <mkdir dir="${dist-src.dir}/${doc.dir}" />
- <copy todir="${dist-src.dir}/${doc.dir}">
- <fileset dir="${basedir}/${doc.dir}" includes="**/*" />
- </copy>
- <zip zipfile="${dist.dir}/${dist-src}.zip">
- <fileset dir="${dist.dir}" includes="${dist-src}/**/*" />
- </zip>
- <tar destfile="${dist.dir}/${dist-src}.tar" longfile="gnu">
- <tarfileset dir="${dist.dir}" includes="${dist-src}/**/*" />
- </tar>
- <gzip src="${dist.dir}/${dist-src}.tar"
- zipfile="${dist.dir}/${dist-src}.tar.gz" />
- <bzip2 src="${dist.dir}/${dist-src}.tar"
- zipfile="${dist.dir}/${dist-src}.tar.bz2" />
- </target>
-
- <target name="fractal-dist-bin" depends="fractal-build,fractal-jdoc"
- description="Builds the binary distribution.">
- <property name="dist-bin"
value="${template.dist}-${template.version}-bin"/>
- <property name="dist-bin.dir" value="${dist.dir}/${dist-bin}"/>
+ <target name="template-dist-src" depends="export">
+ <archive dir="${dist.dir}" includes="${dist-src}"/>
+ </target>
+
+ <target name="template-dist-bin" depends="template-build,template-jdoc">
<mkdir dir="${dist-bin.dir}"/>
<copy todir="${dist-bin.dir}">
<fileset dir="${build.dir}" includes="${doc.dir}/**/*"/>
<fileset dir="${build.dir}" includes="${lib.dir}/**/*"/>
</copy>
- <zip zipfile="${dist.dir}/${dist-bin}.zip">
- <fileset dir="${dist.dir}" includes="${dist-bin}/**/*"/>
- </zip>
- <tar destfile="${dist.dir}/${dist-bin}.tar" longfile="gnu">
- <tarfileset dir="${dist.dir}" includes="${dist-bin}/**/*"/>
- </tar>
- <gzip src="${dist.dir}/${dist-bin}.tar"
- zipfile="${dist.dir}/${dist-bin}.tar.gz"/>
- <bzip2 src="${dist.dir}/${dist-bin}.tar"
- zipfile="${dist.dir}/${dist-bin}.tar.bz2"/>
+ <archive dir="${dist.dir}" includes="${dist-bin}"/>
</target>
-
- <target name="fractal-dist" depends="fractal-dist-src,fractal-dist-bin"
- description="build all distributions"/>
</project>
Index:
fractal-template/src/java/org/objectweb/fractal/lib/BindablePrimitive.java
diff -u
fractal-template/src/java/org/objectweb/fractal/lib/BindablePrimitive.java:1.6
fractal-template/src/java/org/objectweb/fractal/lib/BindablePrimitive.java:1.7
---
fractal-template/src/java/org/objectweb/fractal/lib/BindablePrimitive.java:1.6
Mon May 23 13:20:52 2005
+++
fractal-template/src/java/org/objectweb/fractal/lib/BindablePrimitive.java
Tue Jun 28 10:19:50 2005
@@ -23,11 +23,11 @@
Contributor(s): .
---------------------------------------------------------------------
- $Id: BindablePrimitive.java,v 1.6 2005/05/23 11:20:52 rouvoy Exp $
+ $Id: BindablePrimitive.java,v 1.7 2005/06/28 08:19:50 rouvoy Exp $
====================================================================*/
package org.objectweb.fractal.lib;
-import java.util.Hashtable;
+import java.util.HashMap;
import java.util.Map;
import java.util.Set;
@@ -40,7 +40,7 @@
* Client interfaces are now retrieved via the
* <code>Object lookFc(String)</code> method.
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version $Revision: 1.6 $
+ * @version $Revision: 1.7 $
* @fractal.itf
*/
public abstract class BindablePrimitive
@@ -56,7 +56,7 @@
private final String[] publicFc = clientFc();
/** the list of bindings. */
- protected final Map fcBindings = new Hashtable();
+ protected final Map fcBindings = new HashMap();
/**
* Checks if the interface name is allowed to be binded.
Index: fractal-template/src/julia/julia.cfg
diff -u fractal-template/src/julia/julia.cfg:1.1
fractal-template/src/julia/julia.cfg:removed
--- fractal-template/src/julia/julia.cfg:1.1 Tue Dec 14 09:58:44 2004
+++ fractal-template/src/julia/julia.cfg Tue Jun 28 10:19:50 2005
@@ -1,614 +0,0 @@
-###############################################################################
-# STANDARD JULIA CONFIGURATION FILE - DO NOT EDIT
-#
-# PUT NEW OR OVERRIDEN DEFINITIONS AT THE END OF THE FILE, OR IN OTHER FILES
-###############################################################################
-
-#
-----------------------------------------------------------------------------
-# INTERFACE CLASS GENERATORS
-#
-----------------------------------------------------------------------------
-
-# default class generator, generates sub classes of BasicComponentInterface
-
-(interface-class-generator
- (org.objectweb.fractal.julia.asm.InterfaceClassGenerator
- org.objectweb.fractal.julia.BasicComponentInterface
- )
-)
-
-#
-----------------------------------------------------------------------------
-# CONTROLLER INTERFACES
-#
-# each definition must be of the form (interface-name interface-signature)
-#
-----------------------------------------------------------------------------
-
-# Component interface
-
-(component-itf
- (component org.objectweb.fractal.api.Component)
-)
-
-# TypeFactory interface
-
-(type-factory-itf
- (type-factory org.objectweb.fractal.api.type.TypeFactory)
-)
-
-# GenericFactory interface
-
-(generic-factory-itf
- (generic-factory org.objectweb.fractal.api.factory.GenericFactory)
-)
-
-# Factory interface
-
-(factory-itf
- # choose one of the following definitions:
- # the first one provides only the Fractal Factory interface
- # the second one provides a Julia extension of the Factory interface
- # (factory org.objectweb.fractal.api.factory.Factory)
- (factory org.objectweb.fractal.julia.factory.Template)
-)
-
-(julia-factory-itf
- (/template org.objectweb.fractal.julia.factory.Template)
-)
-
-# AttributeController interface
-
-(attribute-controller-itf
- (attribute org.objectweb.fractal.api.control.AttributeController)
-)
-
-(julia-attribute-controller-itf
- (/cloneable-attribute-controller
org.objectweb.fractal.julia.control.attribute.CloneableAttributeController)
-)
-
-# BindingController interface
-
-(binding-controller-itf
- (binding-controller org.objectweb.fractal.api.control.BindingController)
-)
-
-# ContentController interface
-
-(content-controller-itf
- (content-controller org.objectweb.fractal.api.control.ContentController)
-)
-
-# SuperController interface
-
-(super-controller-itf
- # choose one of the following definitions:
- # the first one provides only the Fractal SuperController interface
- # the second one provides a Julia extension of the SuperController
interface
- # (super-controller org.objectweb.fractal.api.control.SuperController)
- (super-controller
org.objectweb.fractal.julia.control.content.SuperControllerNotifier)
-)
-
-(julia-super-controller-itf
- (/super-controller-notifier
org.objectweb.fractal.julia.control.content.SuperControllerNotifier)
-)
-
-# LifeCycleController interface
-
-(lifecycle-controller-itf
- # choose one of the following definitions:
- # the first one provides only the Fractal LifeCycleController interface
- # the second one provides a Julia extension of the LifeCycleController
interface
- # (lifecycle-controller
org.objectweb.fractal.api.control.LifeCycleController)
- (lifecycle-controller
org.objectweb.fractal.julia.control.lifecycle.LifeCycleCoordinator)
-)
-
-(julia-lifecycle-controller-itf
- (/lifecycle-coordinator
org.objectweb.fractal.julia.control.lifecycle.LifeCycleCoordinator)
-)
-
-# NameController interface
-
-(name-controller-itf
- (name-controller org.objectweb.fractal.api.control.NameController)
-)
-
-#
-----------------------------------------------------------------------------
-# CONTROLLER OBJECTS
-#
-# each definition must be an object descriptor
-#
-----------------------------------------------------------------------------
-
-# Component implementation
-
-(component-impl
- ((org.objectweb.fractal.julia.asm.MixinClassGenerator
- ComponentImpl
- org.objectweb.fractal.julia.BasicControllerMixin
- org.objectweb.fractal.julia.BasicComponentMixin
- # to check type related constraints, and for collection interfaces
support:
- org.objectweb.fractal.julia.TypeComponentMixin
- ))
-)
-
-# TypeFactory implementation
-
-(type-factory-impl
- ((org.objectweb.fractal.julia.asm.MixinClassGenerator
- TypeFactoryImpl
- org.objectweb.fractal.julia.BasicControllerMixin
- org.objectweb.fractal.julia.type.BasicTypeFactoryMixin
- # to check the component interface signatures with the Java Reflection
API:
- org.objectweb.fractal.julia.type.CheckTypeFactoryMixin
- ))
-)
-
-# GenericFactory implementation
-
-(generic-factory-impl
- ((org.objectweb.fractal.julia.asm.MixinClassGenerator
- GenericFactoryImpl
- org.objectweb.fractal.julia.BasicControllerMixin
- org.objectweb.fractal.julia.loader.UseLoaderMixin
- org.objectweb.fractal.julia.type.UseTypeFactoryMixin
- org.objectweb.fractal.julia.factory.BasicGenericFactoryMixin
- # to check the component content descriptor with the Java Reflection API:
- org.objectweb.fractal.julia.factory.CheckGenericFactoryMixin
- ))
-)
-
-# Factory implementation (for template components)
-
-(factory-impl
- ((org.objectweb.fractal.julia.asm.MixinClassGenerator
- FactoryImpl
- org.objectweb.fractal.julia.BasicControllerMixin
- org.objectweb.fractal.julia.UseComponentMixin
- org.objectweb.fractal.julia.factory.BasicTemplateMixin
- # to copy the template's attributes to the components it creates:
-
org.objectweb.fractal.julia.control.attribute.UseCloneableAttributeControllerMixin
- org.objectweb.fractal.julia.factory.AttributeTemplateMixin
- # to copy the template's name to the components it creates:
- org.objectweb.fractal.julia.control.name.UseNameControllerMixin
- org.objectweb.fractal.julia.factory.NameTemplateMixin
- ))
-)
-
-# Factory implementation (for singleton template components)
-
-(singleton-factory-impl
- ((org.objectweb.fractal.julia.asm.MixinClassGenerator
- SingletonFactoryImpl
- org.objectweb.fractal.julia.BasicControllerMixin
- org.objectweb.fractal.julia.UseComponentMixin
- org.objectweb.fractal.julia.factory.BasicTemplateMixin
- # to copy the template's attributes to the components it creates:
-
org.objectweb.fractal.julia.control.attribute.UseCloneableAttributeControllerMixin
- org.objectweb.fractal.julia.factory.AttributeTemplateMixin
- # to copy the template's name to the components it creates:
- org.objectweb.fractal.julia.control.name.UseNameControllerMixin
- org.objectweb.fractal.julia.factory.NameTemplateMixin
- # to provide the singleton semantics to the template:
- org.objectweb.fractal.julia.factory.SingletonTemplateMixin
- ))
-)
-
-# BindingController implementation (for primitive components without content)
-
-(primitive-binding-controller-impl
- ((org.objectweb.fractal.julia.asm.MixinClassGenerator
- PrimitiveBindingControllerImpl
- org.objectweb.fractal.julia.BasicControllerMixin
- org.objectweb.fractal.julia.control.binding.BasicBindingControllerMixin
- # to initialize the BasicBindingControllerMixin from the component's
type:
- org.objectweb.fractal.julia.control.binding.TypeBasicBindingMixin
- # to check some basic pre conditions (interface not already bound, ...)
- org.objectweb.fractal.julia.UseComponentMixin
- org.objectweb.fractal.julia.control.binding.CheckBindingMixin
- # to check type related constraints for bindings:
- org.objectweb.fractal.julia.control.binding.TypeBindingMixin
- # to check content related constraints for bindings:
- org.objectweb.fractal.julia.control.content.UseSuperControllerMixin
- org.objectweb.fractal.julia.control.binding.ContentBindingMixin
- # to check lifecycle related constraints for bindings:
- org.objectweb.fractal.julia.control.lifecycle.UseLifeCycleControllerMixin
- org.objectweb.fractal.julia.control.binding.LifeCycleBindingMixin
- ))
-)
-
-# BindingController implementation (for primitive components with content)
-
-(container-binding-controller-impl
- ((org.objectweb.fractal.julia.asm.MixinClassGenerator
- ContainerBindingControllerImpl
- org.objectweb.fractal.julia.BasicControllerMixin
-
org.objectweb.fractal.julia.control.binding.ContainerBindingControllerMixin
- # to skip Interface objects before delegating to the encapsulated
component:
- #
org.objectweb.fractal.julia.control.binding.OptimizedContainerBindingMixin
- # to manage output interceptors:
- org.objectweb.fractal.julia.UseComponentMixin
- org.objectweb.fractal.julia.control.binding.InterceptorBindingMixin
- # to check some basic pre conditions (interface not already bound, ...)
- org.objectweb.fractal.julia.control.binding.CheckBindingMixin
- # to check type related constraints for bindings:
- org.objectweb.fractal.julia.control.binding.TypeBindingMixin
- # to check content related constraints for bindings:
- org.objectweb.fractal.julia.control.content.UseSuperControllerMixin
- org.objectweb.fractal.julia.control.binding.ContentBindingMixin
- # to check lifecycle related constraints for bindings:
- org.objectweb.fractal.julia.control.lifecycle.UseLifeCycleControllerMixin
- org.objectweb.fractal.julia.control.binding.LifeCycleBindingMixin
- ))
-)
-
-# BindingController implementation (for composite components)
-
-(composite-binding-controller-impl
- ((org.objectweb.fractal.julia.asm.MixinClassGenerator
- CompositeBindingControllerImpl
- org.objectweb.fractal.julia.BasicControllerMixin
- org.objectweb.fractal.julia.control.binding.BasicBindingControllerMixin
- # to initialize the BasicBindingControllerMixin from the component's
type:
- org.objectweb.fractal.julia.control.binding.TypeBasicBindingMixin
- # to check some basic pre conditions (interface not already bound, ...)
- org.objectweb.fractal.julia.UseComponentMixin
- org.objectweb.fractal.julia.control.binding.CheckBindingMixin
- # to check type related constraints for bindings:
- org.objectweb.fractal.julia.control.binding.TypeBindingMixin
- # to check content related constraints for bindings:
- org.objectweb.fractal.julia.control.content.UseSuperControllerMixin
- org.objectweb.fractal.julia.control.binding.ContentBindingMixin
- # to check lifecycle related constraints for bindings:
- org.objectweb.fractal.julia.control.lifecycle.UseLifeCycleControllerMixin
- org.objectweb.fractal.julia.control.binding.LifeCycleBindingMixin
- # to manage the getFcItfImpl links of the Interface objects:
- # choose one of ComponentBindingMixin and OptimizedCompositeBindingMixin
- # (the last one creates and updates shortcuts links when possible)
- org.objectweb.fractal.julia.control.content.UseContentControllerMixin
- # org.objectweb.fractal.julia.control.binding.CompositeBindingMixin
-
org.objectweb.fractal.julia.control.binding.OptimizedCompositeBindingMixin
- ))
-)
-
-# ContentController implementation
-
-(content-controller-impl
- ((org.objectweb.fractal.julia.asm.MixinClassGenerator
- ContentControllerImpl
- org.objectweb.fractal.julia.BasicControllerMixin
- org.objectweb.fractal.julia.UseComponentMixin
- org.objectweb.fractal.julia.control.content.BasicContentControllerMixin
- # to check some basic pre conditions, and to prevent hierarchy cycles:
- org.objectweb.fractal.julia.control.content.CheckContentMixin
- # to check type related constraints in getFcInternalInterface:
- org.objectweb.fractal.julia.control.content.TypeContentMixin
- # to check binding locality related constraints in removeFcSubComponent:
- org.objectweb.fractal.julia.control.content.BindingContentMixin
- # to check lifecycle related constraints:
- org.objectweb.fractal.julia.control.lifecycle.UseLifeCycleControllerMixin
- org.objectweb.fractal.julia.control.content.LifeCycleContentMixin
- # to notify sub components when they are added or removed from this
component:
- org.objectweb.fractal.julia.control.content.SuperContentMixin
- ))
-)
-
-# SuperController implementation
-
-(super-controller-impl
- ((org.objectweb.fractal.julia.asm.MixinClassGenerator
- SuperControllerImpl
- org.objectweb.fractal.julia.BasicControllerMixin
- org.objectweb.fractal.julia.control.content.BasicSuperControllerMixin
- ))
-)
-
-# LifeCycleController implementation (for primitive or composite components)
-
-(lifecycle-controller-impl-old
- ((org.objectweb.fractal.julia.asm.MixinClassGenerator
- LifeCycleControllerImpl
- org.objectweb.fractal.julia.BasicControllerMixin
- org.objectweb.fractal.julia.UseComponentMixin
-
org.objectweb.fractal.julia.control.lifecycle.BasicLifeCycleCoordinatorMixin
-
org.objectweb.fractal.julia.control.lifecycle.BasicLifeCycleControllerMixin
- # to check that mandatory client interfaces are bound in startFc:
- org.objectweb.fractal.julia.control.lifecycle.TypeLifeCycleMixin
- # to notify the encapsulated component (if present) when its state
changes:
- org.objectweb.fractal.julia.control.lifecycle.ContainerLifeCycleMixin
- ))
-)
-
-# LifeCycleController implementation (for composite components only)
-
-(composite-lifecycle-controller-impl
- ((org.objectweb.fractal.julia.asm.MixinClassGenerator
- CompositeLifeCycleControllerImpl
- org.objectweb.fractal.julia.BasicControllerMixin
- org.objectweb.fractal.julia.UseComponentMixin
-
org.objectweb.fractal.julia.control.lifecycle.BasicLifeCycleCoordinatorMixin
-
org.objectweb.fractal.julia.control.lifecycle.OptimizedLifeCycleControllerMixin
- # to check that mandatory client interfaces are bound in startFc:
- org.objectweb.fractal.julia.control.lifecycle.TypeLifeCycleMixin
- ))
-)
-
-# NameController implementation
-
-(name-controller-impl
- ((org.objectweb.fractal.julia.asm.MixinClassGenerator
- NameControllerImpl
- org.objectweb.fractal.julia.BasicControllerMixin
- org.objectweb.fractal.julia.control.name.BasicNameControllerMixin
- ))
-)
-
-#
-----------------------------------------------------------------------------
-# CONTROLLER DESCRIPTORS
-#
-----------------------------------------------------------------------------
-
-(optimizationLevel
- # choose one of the following optimization options:
- none
- # mergeControllers
- # mergeControllersAndInterceptors
- # mergeControllersAndContent
- # mergeControllersInterceptorsAndContent
-)
-
-(bootstrap
- (
- 'interface-class-generator
- (
- 'component-itf
- 'type-factory-itf
- 'generic-factory-itf
- (loader org.objectweb.fractal.julia.loader.Loader)
- )
- (
- 'component-impl
- 'type-factory-impl
- 'generic-factory-impl
- # choose one of the following classes:
- # the first one loads all classes from the classpath
- # the second one can generate missing classes on the fly, dynamically
- # org.objectweb.fractal.julia.loader.BasicLoader
- org.objectweb.fractal.julia.loader.DynamicLoader
- )
- (
- # no interceptors
- )
- org.objectweb.fractal.julia.asm.MergeClassGenerator
- none
- )
-)
-
-(primitive
- (
- 'interface-class-generator
- (
- 'component-itf
- 'binding-controller-itf
- 'super-controller-itf
- # only if super-controller-itf does not designate the Julia interface:
- # 'julia-super-controller-itf
- 'lifecycle-controller-itf
- # only if lifecycle-controller-itf does not designate the Julia
interface:
- # 'julia-lifecycle-controller-itf
- 'name-controller-itf
- )
- (
- 'component-impl
- 'container-binding-controller-impl
- 'super-controller-impl
- 'lifecycle-controller-impl
- 'name-controller-impl
- )
- (
- (org.objectweb.fractal.julia.asm.InterceptorClassGenerator
- org.objectweb.fractal.julia.asm.LifeCycleCodeGenerator
- )
- )
- org.objectweb.fractal.julia.asm.MergeClassGenerator
- 'optimizationLevel
- )
-)
-
-(parametricPrimitive
- 'primitive
-)
-
-(composite
- (
- 'interface-class-generator
- (
- 'component-itf
- 'binding-controller-itf
- 'content-controller-itf
- 'super-controller-itf
- # only if super-controller-itf does not designate the Julia interface:
- # 'julia-super-controller-itf
- 'lifecycle-controller-itf
- # only if lifecycle-controller-itf does not designate the Julia
interface:
- # 'julia-lifecycle-controller-itf
- 'name-controller-itf
- )
- (
- 'component-impl
- 'composite-binding-controller-impl
- 'content-controller-impl
- 'super-controller-impl
- 'composite-lifecycle-controller-impl
- 'name-controller-impl
- )
- (
- # no interceptors
- )
- org.objectweb.fractal.julia.asm.MergeClassGenerator
- 'optimizationLevel
- )
-)
-
-(parametricComposite
- (
- 'interface-class-generator
- (
- 'component-itf
- 'binding-controller-itf
- 'content-controller-itf
- 'super-controller-itf
- # only if super-controller-itf does not designate the Julia interface:
- # 'julia-super-controller-itf
- 'lifecycle-controller-itf
- # only if lifecycle-controller-itf does not designate the Julia
interface:
- # 'julia-lifecycle-controller-itf
- 'name-controller-itf
- )
- (
- 'component-impl
- ((org.objectweb.fractal.julia.asm.AttributeControllerClassGenerator
- ('attributeControllerInterface)
- ))
- 'composite-binding-controller-impl
- 'content-controller-impl
- 'super-controller-impl
- 'composite-lifecycle-controller-impl
- 'name-controller-impl
- )
- (
- # no interceptors
- )
- org.objectweb.fractal.julia.asm.MergeClassGenerator
- 'optimizationLevel
- )
-)
-
-(primitiveTemplate
- (
- 'interface-class-generator
- (
- 'component-itf
- 'binding-controller-itf
- 'super-controller-itf
- # only if super-controller-itf does not designate the Julia interface:
- # 'julia-super-controller-itf
- 'name-controller-itf
- 'factory-itf
- # only if factory-itf does not designate the Julia interface:
- # 'julia-factory-itf
- )
- (
- 'component-impl
- 'primitive-binding-controller-impl
- 'super-controller-impl
- 'name-controller-impl
- 'factory-impl
- )
- (
- # no interceptors
- )
- org.objectweb.fractal.julia.asm.MergeClassGenerator
- 'optimizationLevel
- )
-)
-
-(parametricPrimitiveTemplate
- (
- 'interface-class-generator
- (
- 'component-itf
- 'julia-attribute-controller-itf
- 'binding-controller-itf
- 'super-controller-itf
- # only if super-controller-itf does not designate the Julia interface:
- # 'julia-super-controller-itf
- 'name-controller-itf
- 'factory-itf
- # only if factory-itf does not designate the Julia interface:
- # 'julia-factory-itf
- )
- (
- 'component-impl
- ((org.objectweb.fractal.julia.asm.AttributeControllerClassGenerator
- ('attributeControllerInterface)
- ))
- 'primitive-binding-controller-impl
- 'super-controller-impl
- 'name-controller-impl
- 'factory-impl
- )
- (
- # no interceptors
- )
- org.objectweb.fractal.julia.asm.MergeClassGenerator
- 'optimizationLevel
- )
-)
-
-(compositeTemplate
- (
- 'interface-class-generator
- (
- 'component-itf
- 'binding-controller-itf
- 'content-controller-itf
- 'super-controller-itf
- # only if super-controller-itf does not designate the Julia interface:
- # 'julia-super-controller-itf
- 'name-controller-itf
- 'factory-itf
- # only if factory-itf does not designate the Julia interface:
- # 'julia-factory-itf
- )
- (
- 'component-impl
- 'composite-binding-controller-impl
- 'content-controller-impl
- 'super-controller-impl
- 'name-controller-impl
- 'factory-impl
- )
- (
- # no interceptors
- )
- org.objectweb.fractal.julia.asm.MergeClassGenerator
- 'optimizationLevel
- )
-)
-
-(parametricCompositeTemplate
- (
- 'interface-class-generator
- (
- 'component-itf
- 'julia-attribute-controller-itf
- 'binding-controller-itf
- 'content-controller-itf
- 'super-controller-itf
- # only if super-controller-itf does not designate the Julia interface:
- # 'julia-super-controller-itf
- 'name-controller-itf
- 'factory-itf
- # only if factory-itf does not designate the Julia interface:
- # 'julia-factory-itf
- )
- (
- 'component-impl
- ((org.objectweb.fractal.julia.asm.AttributeControllerClassGenerator
- ('attributeControllerInterface)
- ))
- 'composite-binding-controller-impl
- 'content-controller-impl
- 'super-controller-impl
- 'name-controller-impl
- 'factory-impl
- )
- (
- # no interceptors
- )
- org.objectweb.fractal.julia.asm.MergeClassGenerator
- 'optimizationLevel
- )
-)
-
-###############################################################################
-# CUSTOM CONFIGURATION INFORMATION
-###############################################################################
-
-# no custom definitions
Index: fractal-template/src/monolog/fractal.properties
diff -u fractal-template/src/monolog/fractal.properties:1.1
fractal-template/src/monolog/fractal.properties:removed
--- fractal-template/src/monolog/fractal.properties:1.1 Wed Feb 23 18:39:32
2005
+++ fractal-template/src/monolog/fractal.properties Tue Jun 28 10:19:50
2005
@@ -1,55 +0,0 @@
-# ====================================================================
-#
-# GoTM: GoTM is an open Transaction Monitor
-# Copyright (C) 2000-2004 INRIA - USTL - LIFL - GOAL
-# Contact: gotm@xxxxxxxxxxxxx
-#
-# 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.1 of the License, or 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
-#
-# Initial developer(s): Romain Rouvoy
-# Contributor(s):
-#
-# ====================================================================
-# $Id: fractal.properties,v 1.1 2005/02/23 17:39:32 rouvoy Exp $
-# ====================================================================
-# Log configuration file #
-
-# Define which wrapper to use (= log4j)
-log.config.classname
org.objectweb.util.monolog.wrapper.log4j.MonologLoggerFactory
-
-# tty : simple console handler
-handler.tty.type Console
-handler.tty.output System.out
-#handler.tty.pattern <%h> [%-3t{1}]: %m%n
-handler.tty.pattern [%-3t{1}]: %m%n
-
-# logf : file handler with extended headers
-#handler.logf.type File
-#handler.logf.output gotm.log
-#handler.logf.pattern <%-3t{1}> [%10r] %7p - %m%n
-
-# root definition for all loggers
-logger.root.handler.0 tty
-logger.root.additivity false
-logger.root.level ERROR
-
-# Launcher Traces for handlers:
-# o tty --> prints logs to the standart output
-# o logf --> prints log to a file (monolog.log)
-
-logger.org.objectweb.fractal.handler.0 tty
-logger.org.objectweb.fractal.additivity false
-logger.org.objectweb.fractal.level ERROR
| <-- Date Index --> | <-- Thread Index --> |
Powered by MHonArc.
Copyright © 2006-2007, OW2 Consortium | contact | webmaster.