Index: topia/src/java/org/codelutin/topia/ContextHelper.java diff -u topia/src/java/org/codelutin/topia/ContextHelper.java:1.8 topia/src/java/org/codelutin/topia/ContextHelper.java:1.9 --- topia/src/java/org/codelutin/topia/ContextHelper.java:1.8 Thu Aug 11 16:35:23 2005 +++ topia/src/java/org/codelutin/topia/ContextHelper.java Fri Aug 19 14:52:46 2005 @@ -23,10 +23,10 @@ * * @author Benjamin Poussin * Copyright Code Lutin - * @version $Revision: 1.8 $ + * @version $Revision: 1.9 $ * - * Mise a jour: $Date: 2005/08/11 16:35:23 $ - * par : $Author: thimel $ + * Mise a jour: $Date: 2005/08/19 14:52:46 $ + * par : $Author: bpoussin $ */ package org.codelutin.topia; @@ -160,18 +160,18 @@ * Retourne la classe qui implante réellement l'interface passé en paremètre */ public Class getImplementationClass(Class interfacez) throws TopiaNotFoundException { - String clazz = properties.getProperty(TopiaConst.MAPPING_IMPLEMENTATION + "." + interfacez.getName()); + String clazz = properties.getProperty(TopiaConst.MAPPING_IMPLEMENTATION + "." + interfacez.getName(), interfacez.getName() + "Impl"); return Util.getClazz(clazz); } - /** - * Retourne la classe qui permet de générer la distribution des méthode de - * l'interface passé en paremètre - */ - public Class getDistributionClass(Class interfacez) throws TopiaNotFoundException { - String clazz = properties.getProperty(TopiaConst.MAPPING_DISTRIBUTION + "." + interfacez.getName()); - return Util.getClazz(clazz); - } + // /** + // * Retourne la classe qui permet de générer la distribution des méthode de + // * l'interface passé en paremètre + // */ + // public Class getDistributionClass(Class interfacez) throws TopiaNotFoundException { + // String clazz = properties.getProperty(TopiaConst.MAPPING_DISTRIBUTION + "." + interfacez.getName()); + // return Util.getClazz(clazz); + // } } // ContextHelper