OW2 Consortium
Search OW2 Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | gotm-commits List | August 2005 Index

<--  Date Index  --> <--  Thread Index  -->

CVS update of fractal-template/src/java/org/objectweb/fractal/lib (1 file)


    Date: Friday, August 5, 2005 @ 17:06:31
  Author: rouvoy
    Path: /cvsroot/gotm/fractal-template/src/java/org/objectweb/fractal/lib

Modified: BindablePrimitive.java

fractal-import:
* Updating Fractal & Julia jars.
fractal-pool:
* Adding support for merge optimization with the Cache controller.
gotm:
* Adding HOWL Logging support,
* Implementing 2PC, 2PCPC & 2PCPA commit protocols,
* Adding various configuration of the Event Engine,
* Adding support for configurable current manager.
gotm-jts:
* Improving JTS implementation,
* Adding JTS JUnit tests as example,
* Adding Benchmarks (JTS, 2PC, Adaptive PC) as example.


------------------------+
 BindablePrimitive.java |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)


Index: 
fractal-template/src/java/org/objectweb/fractal/lib/BindablePrimitive.java
diff -u 
fractal-template/src/java/org/objectweb/fractal/lib/BindablePrimitive.java:1.7
 
fractal-template/src/java/org/objectweb/fractal/lib/BindablePrimitive.java:1.8
--- 
fractal-template/src/java/org/objectweb/fractal/lib/BindablePrimitive.java:1.7
      Tue Jun 28 10:19:50 2005
+++ 
fractal-template/src/java/org/objectweb/fractal/lib/BindablePrimitive.java  
Fri Aug  5 17:06:31 2005
@@ -23,13 +23,14 @@
  Contributor(s): .
  
  ---------------------------------------------------------------------
- $Id: BindablePrimitive.java,v 1.7 2005/06/28 08:19:50 rouvoy Exp $
+ $Id: BindablePrimitive.java,v 1.8 2005/08/05 15:06:31 rouvoy Exp $
  ====================================================================*/
 package org.objectweb.fractal.lib;
 
 import java.util.HashMap;
 import java.util.Map;
 import java.util.Set;
+import java.util.logging.Logger;
 
 import org.objectweb.fractal.api.NoSuchInterfaceException;
 import org.objectweb.fractal.api.control.BindingController;
@@ -40,7 +41,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.7 $
+ * @version $Revision: 1.8 $
  * @fractal.itf
  */
 public abstract class BindablePrimitive 
@@ -73,8 +74,7 @@
         for (int i=0 ; i < privateFc.length ; i++)
             if (name.startsWith(privateFc[i]))
                 return name ;
-        if (getLogger().isLoggable(ERROR))
-            getLogger().log(ERROR, "Interface "+name+" not registered");
+        Logger.getLogger("BindingController").severe("Interface \'"+name+"\' 
is not supported by the component type");
         throw new NoSuchInterfaceException(name);
     }
     



<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 2006-2007, OW2 Consortium | contact | webmaster.