Mail Archive Home | gotm-commits List | October 2005 Index
| <-- Date Index --> | <-- Thread Index --> |
Date: Friday, October 14, 2005 @ 13:43:54
Author: rouvoy
Path: /cvsroot/gotm/gotm/src/java/org/objectweb/gotm/lib
Modified: coordination/AbstractCoordinationFeature.java
coordination/CommitFeature.java coordination/TimeoutImpl.java
coordination/TwoPCFeature.java
current/CurrentManagerThreadLocal.java
current/CurrentManagerWithReference.java
event/PublishASyncPool.java event/PublishSimple.java
event/PublishState.java event/PublishSyncThread.java
event/SubscribablePrimitive.java
factory/TransactionFactoryImpl.java
factory/TransactionFactoryObservable.java
logging/GenericLogger.java probe/ProbeAbstract.java
resource/ResourceManagerAbstract.java
resource/ResourceManagerWithPool.java
* updating the BindingComponent class with a 'singletonFc(String)' method.
This method provides the instance of interface associated with the parameter.
* updating other projects code.
* changing default optimization level to
'mergeContentControllerAndInterceptors'
* updating explorer framework libraries.
-----------------------------------------------+
coordination/AbstractCoordinationFeature.java | 14 +++++++-------
coordination/CommitFeature.java | 6 +++---
coordination/TimeoutImpl.java | 6 +++---
coordination/TwoPCFeature.java | 12 ++++++------
current/CurrentManagerThreadLocal.java | 8 ++++----
current/CurrentManagerWithReference.java | 8 ++++----
event/PublishASyncPool.java | 10 +++++-----
event/PublishSimple.java | 8 ++++----
event/PublishState.java | 8 ++++----
event/PublishSyncThread.java | 12 ++++++------
event/SubscribablePrimitive.java | 8 ++++----
factory/TransactionFactoryImpl.java | 8 ++++----
factory/TransactionFactoryObservable.java | 8 ++++----
logging/GenericLogger.java | 10 +++++-----
probe/ProbeAbstract.java | 8 ++++----
resource/ResourceManagerAbstract.java | 10 +++++-----
resource/ResourceManagerWithPool.java | 8 ++++----
17 files changed, 76 insertions(+), 76 deletions(-)
Index:
gotm/src/java/org/objectweb/gotm/lib/coordination/AbstractCoordinationFeature.java
diff -u
gotm/src/java/org/objectweb/gotm/lib/coordination/AbstractCoordinationFeature.java:1.10
gotm/src/java/org/objectweb/gotm/lib/coordination/AbstractCoordinationFeature.java:1.11
---
gotm/src/java/org/objectweb/gotm/lib/coordination/AbstractCoordinationFeature.java:1.10
Tue Sep 6 10:01:46 2005
+++
gotm/src/java/org/objectweb/gotm/lib/coordination/AbstractCoordinationFeature.java
Fri Oct 14 13:43:53 2005
@@ -23,7 +23,7 @@
Contributor(s): .
---------------------------------------------------------------------
- $Id: AbstractCoordinationFeature.java,v 1.10 2005/09/06 08:01:46 rouvoy Exp
$
+ $Id: AbstractCoordinationFeature.java,v 1.11 2005/10/14 11:43:53 rouvoy Exp
$
====================================================================*/
package org.objectweb.gotm.lib.coordination;
@@ -39,8 +39,8 @@
* Abstract implementation of a validation engine.
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
* @created 5 janv. 2005
- * @modified $Date: 2005/09/06 08:01:46 $
- * @version $Revision: 1.10 $
+ * @modified $Date: 2005/10/14 11:43:53 $
+ * @version $Revision: 1.11 $
* @fractal.itf name="publish" role="client"
signature="org.objectweb.transaction.api.event.PublishFeature"
* @fractal.itf name="tx-state" role="client"
signature="org.objectweb.transaction.api.transaction.TransactionState"
* @fractal.itf name="begin-log" role="client"
signature="org.objectweb.transaction.api.logging.LoggerFeature"
contingency="optional"
@@ -70,27 +70,27 @@
* @return Returns the notifier.
*/
protected final PublishFeature publisher() {
- return (PublishFeature)
fcBindings.get(PublishFeature.PUBLISH_FEATURE);
+ return (PublishFeature) singletonFc(PublishFeature.PUBLISH_FEATURE);
}
/**
* @return the transaction state.
*/
protected final TransactionState txState() {
- return (TransactionState)
fcBindings.get(TransactionState.TRANSACTION_STATE);
+ return (TransactionState)
singletonFc(TransactionState.TRANSACTION_STATE);
}
/**
* @return the recovery logger.
*/
protected final LoggerFeature beginLog() {
- return (LoggerFeature) fcBindings.get(BEGIN_LOG);
+ return (LoggerFeature) singletonFc(BEGIN_LOG);
}
/**
* @return the recovery logger.
*/
protected final LoggerFeature endLog() {
- return (LoggerFeature) fcBindings.get(END_LOG);
+ return (LoggerFeature) singletonFc(END_LOG);
}
}
\ No newline at end of file
Index: gotm/src/java/org/objectweb/gotm/lib/coordination/CommitFeature.java
diff -u
gotm/src/java/org/objectweb/gotm/lib/coordination/CommitFeature.java:1.8
gotm/src/java/org/objectweb/gotm/lib/coordination/CommitFeature.java:1.9
--- gotm/src/java/org/objectweb/gotm/lib/coordination/CommitFeature.java:1.8
Tue Sep 6 10:01:46 2005
+++ gotm/src/java/org/objectweb/gotm/lib/coordination/CommitFeature.java
Fri Oct 14 13:43:53 2005
@@ -23,7 +23,7 @@
Contributor(s): .
---------------------------------------------------------------------
- $Id: CommitFeature.java,v 1.8 2005/09/06 08:01:46 rouvoy Exp $
+ $Id: CommitFeature.java,v 1.9 2005/10/14 11:43:53 rouvoy Exp $
====================================================================*/
package org.objectweb.gotm.lib.coordination;
@@ -42,7 +42,7 @@
/**
* One phase validation process.
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version $Revision: 1.8 $
+ * @version $Revision: 1.9 $
* @fractal.itf name="abort" role="client"
signature="org.objectweb.transaction.api.coordination.CoordinationFeature"
*/
public class CommitFeature
@@ -67,7 +67,7 @@
* @return the cancel interface
*/
protected final CoordinationFeature abort() {
- return (CoordinationFeature) fcBindings.get(AbortFeature.ABORT);
+ return (CoordinationFeature) singletonFc(AbortFeature.ABORT);
}
/* (non-Javadoc)
Index: gotm/src/java/org/objectweb/gotm/lib/coordination/TimeoutImpl.java
diff -u
gotm/src/java/org/objectweb/gotm/lib/coordination/TimeoutImpl.java:1.5
gotm/src/java/org/objectweb/gotm/lib/coordination/TimeoutImpl.java:1.6
--- gotm/src/java/org/objectweb/gotm/lib/coordination/TimeoutImpl.java:1.5
Tue Aug 16 15:36:18 2005
+++ gotm/src/java/org/objectweb/gotm/lib/coordination/TimeoutImpl.java Fri
Oct 14 13:43:53 2005
@@ -23,7 +23,7 @@
Contributor(s): .
---------------------------------------------------------------------
- $Id: TimeoutImpl.java,v 1.5 2005/08/16 13:36:18 rouvoy Exp $
+ $Id: TimeoutImpl.java,v 1.6 2005/10/14 11:43:53 rouvoy Exp $
====================================================================*/
package org.objectweb.gotm.lib.coordination;
@@ -47,7 +47,7 @@
/**
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version $Revision: 1.5 $
+ * @version $Revision: 1.6 $
* @fractal.itf name="coord-process" role="client"
signature="org.objectweb.transaction.api.coordination.CoordinationFeature"
*/
public class TimeoutImpl
@@ -97,7 +97,7 @@
}
protected final CoordinationFeature getTerminator() {
- return (CoordinationFeature)
fcBindings.get(CoordinationFeature.PROCESS_FEATURE);
+ return (CoordinationFeature)
singletonFc(CoordinationFeature.PROCESS_FEATURE);
}
/* (non-Javadoc)
Index: gotm/src/java/org/objectweb/gotm/lib/coordination/TwoPCFeature.java
diff -u
gotm/src/java/org/objectweb/gotm/lib/coordination/TwoPCFeature.java:1.8
gotm/src/java/org/objectweb/gotm/lib/coordination/TwoPCFeature.java:1.9
--- gotm/src/java/org/objectweb/gotm/lib/coordination/TwoPCFeature.java:1.8
Tue Sep 6 10:01:46 2005
+++ gotm/src/java/org/objectweb/gotm/lib/coordination/TwoPCFeature.java Fri
Oct 14 13:43:53 2005
@@ -23,7 +23,7 @@
Contributor(s): .
---------------------------------------------------------------------
- $Id: TwoPCFeature.java,v 1.8 2005/09/06 08:01:46 rouvoy Exp $
+ $Id: TwoPCFeature.java,v 1.9 2005/10/14 11:43:53 rouvoy Exp $
====================================================================*/
package org.objectweb.gotm.lib.coordination;
@@ -43,8 +43,8 @@
* Implementation of a Two-Phase Commit Protocol.
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
* @created 5 janv. 2005
- * @modified $Date: 2005/09/06 08:01:46 $
- * @version $Revision: 1.8 $
+ * @modified $Date: 2005/10/14 11:43:53 $
+ * @version $Revision: 1.9 $
* @fractal.itf name="2pc"
signature="org.objectweb.transaction.api.coordination.CoordinationFeature"
* @fractal.itf name="prepare" role="client"
signature="org.objectweb.transaction.api.coordination.CoordinationFeature"
* @fractal.itf name="commit" role="client"
signature="org.objectweb.transaction.api.coordination.CoordinationFeature"
@@ -70,21 +70,21 @@
* @return the prepare interface
*/
protected CoordinationFeature prepare() {
- return (CoordinationFeature) fcBindings.get(PrepareFeature.PREPARE);
+ return (CoordinationFeature) singletonFc(PrepareFeature.PREPARE);
}
/**
* @return the validation interface
*/
protected CoordinationFeature commit() {
- return (CoordinationFeature) fcBindings.get(CommitFeature.COMMIT);
+ return (CoordinationFeature) singletonFc(CommitFeature.COMMIT);
}
/**
* @return the cancel interface
*/
protected final CoordinationFeature abort() {
- return (CoordinationFeature) fcBindings.get(AbortFeature.ABORT);
+ return (CoordinationFeature) singletonFc(AbortFeature.ABORT);
}
/* (non-Javadoc)
Index:
gotm/src/java/org/objectweb/gotm/lib/current/CurrentManagerThreadLocal.java
diff -u
gotm/src/java/org/objectweb/gotm/lib/current/CurrentManagerThreadLocal.java:1.1
gotm/src/java/org/objectweb/gotm/lib/current/CurrentManagerThreadLocal.java:1.2
---
gotm/src/java/org/objectweb/gotm/lib/current/CurrentManagerThreadLocal.java:1.1
Tue Sep 6 10:01:46 2005
+++
gotm/src/java/org/objectweb/gotm/lib/current/CurrentManagerThreadLocal.java
Fri Oct 14 13:43:54 2005
@@ -23,7 +23,7 @@
Contributor(s): .
---------------------------------------------------------------------
-$Id: CurrentManagerThreadLocal.java,v 1.1 2005/09/06 08:01:46 rouvoy Exp $
+$Id: CurrentManagerThreadLocal.java,v 1.2 2005/10/14 11:43:54 rouvoy Exp $
====================================================================*/
package org.objectweb.gotm.lib.current;
@@ -35,8 +35,8 @@
/**
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
* @created 4 août 2005
- * @modified $Date: 2005/09/06 08:01:46 $
- * @version $Revision: 1.1 $
+ * @modified $Date: 2005/10/14 11:43:54 $
+ * @version $Revision: 1.2 $
* @fractal.itf name="transaction-factory" role="client"
signature="org.objectweb.gotm.lib.factory.TransactionFactory"
*/
public class CurrentManagerThreadLocal
@@ -56,7 +56,7 @@
* @return the local transaction factory
*/
protected final TransactionFactory txFactory() {
- return (TransactionFactory)
this.fcBindings.get(TransactionFactory.TRANSACTION_FACTORY);
+ return (TransactionFactory)
singletonFc(TransactionFactory.TRANSACTION_FACTORY);
}
/*
Index:
gotm/src/java/org/objectweb/gotm/lib/current/CurrentManagerWithReference.java
diff -u
gotm/src/java/org/objectweb/gotm/lib/current/CurrentManagerWithReference.java:1.1
gotm/src/java/org/objectweb/gotm/lib/current/CurrentManagerWithReference.java:1.2
---
gotm/src/java/org/objectweb/gotm/lib/current/CurrentManagerWithReference.java:1.1
Tue Sep 6 10:01:46 2005
+++
gotm/src/java/org/objectweb/gotm/lib/current/CurrentManagerWithReference.java
Fri Oct 14 13:43:54 2005
@@ -23,7 +23,7 @@
Contributor(s): .
---------------------------------------------------------------------
-$Id: CurrentManagerWithReference.java,v 1.1 2005/09/06 08:01:46 rouvoy Exp $
+$Id: CurrentManagerWithReference.java,v 1.2 2005/10/14 11:43:54 rouvoy Exp $
====================================================================*/
package org.objectweb.gotm.lib.current;
@@ -41,8 +41,8 @@
/**
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
* @created 31 août 2005
- * @modified $Date: 2005/09/06 08:01:46 $
- * @version $Revision: 1.1 $
+ * @modified $Date: 2005/10/14 11:43:54 $
+ * @version $Revision: 1.2 $
* @fractal.itf
*/
public class CurrentManagerWithReference
@@ -58,7 +58,7 @@
* @see
org.objectweb.gotm.lib.reference.ReferenceManager#get(org.objectweb.gotm.lib.reference.ReferenceFeature)
*/
public Component get(ReferenceFeature ref) throws
ReferenceNotFoundException {
- Component c = (Component) this.fcBindings.get(reference(ref));
+ Component c = (Component) singletonFc(reference(ref));
if (c==null)
throw new ReferenceNotFoundException("The following reference is
unavailable: "+ref.convertToString());
return c;
Index: gotm/src/java/org/objectweb/gotm/lib/event/PublishASyncPool.java
diff -u gotm/src/java/org/objectweb/gotm/lib/event/PublishASyncPool.java:1.3
gotm/src/java/org/objectweb/gotm/lib/event/PublishASyncPool.java:1.4
--- gotm/src/java/org/objectweb/gotm/lib/event/PublishASyncPool.java:1.3
Tue Aug 16 15:36:18 2005
+++ gotm/src/java/org/objectweb/gotm/lib/event/PublishASyncPool.java Fri
Oct 14 13:43:53 2005
@@ -23,7 +23,7 @@
Contributor(s): .
---------------------------------------------------------------------
- $Id: PublishASyncPool.java,v 1.3 2005/08/16 13:36:18 rouvoy Exp $
+ $Id: PublishASyncPool.java,v 1.4 2005/10/14 11:43:53 rouvoy Exp $
====================================================================*/
package org.objectweb.gotm.lib.event;
@@ -39,8 +39,8 @@
/**
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
* @created 5 janv. 2005
- * @modified $Date: 2005/08/16 13:36:18 $
- * @version $Revision: 1.3 $
+ * @modified $Date: 2005/10/14 11:43:53 $
+ * @version $Revision: 1.4 $
* @fractal.itf name="runnable-manager" role="client"
signature="org.objectweb.util.thread.api.RunnableManager"
* @fractal.itf name="subscriber-provider" role="client"
signature="org.objectweb.gotm.lib.event.SubscriberProvider"
*/
@@ -59,14 +59,14 @@
* @return the runnable manager bound to the current component
*/
protected final RunnableManager getRunnableManager() {
- return (RunnableManager)
fcBindings.get(RunnableManager.RUNNABLE_MANAGER);
+ return (RunnableManager)
singletonFc(RunnableManager.RUNNABLE_MANAGER);
}
/**
* @return the subscriber provider.
*/
protected SubscriberProvider getProvider() {
- return (SubscriberProvider)
fcBindings.get(SubscriberProvider.SUBSCRIBER_PROVIDER);
+ return (SubscriberProvider)
singletonFc(SubscriberProvider.SUBSCRIBER_PROVIDER);
}
/* (non-Javadoc)
Index: gotm/src/java/org/objectweb/gotm/lib/event/PublishSimple.java
diff -u gotm/src/java/org/objectweb/gotm/lib/event/PublishSimple.java:1.5
gotm/src/java/org/objectweb/gotm/lib/event/PublishSimple.java:1.6
--- gotm/src/java/org/objectweb/gotm/lib/event/PublishSimple.java:1.5 Tue
Aug 16 15:36:18 2005
+++ gotm/src/java/org/objectweb/gotm/lib/event/PublishSimple.java Fri
Oct 14 13:43:53 2005
@@ -23,7 +23,7 @@
Contributor(s): .
---------------------------------------------------------------------
- $Id: PublishSimple.java,v 1.5 2005/08/16 13:36:18 rouvoy Exp $
+ $Id: PublishSimple.java,v 1.6 2005/10/14 11:43:53 rouvoy Exp $
====================================================================*/
package org.objectweb.gotm.lib.event;
@@ -37,8 +37,8 @@
/**
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
* @created 12 janv. 2005
- * @modified $Date: 2005/08/16 13:36:18 $
- * @version $Revision: 1.5 $
+ * @modified $Date: 2005/10/14 11:43:53 $
+ * @version $Revision: 1.6 $
* @fractal.itf name="subscriber-provider" role="client"
signature="org.objectweb.gotm.lib.event.SubscriberProvider"
*/
public class PublishSimple
@@ -56,7 +56,7 @@
* @return the subscriber provider.
*/
protected final SubscriberProvider getProvider() {
- return (SubscriberProvider)
fcBindings.get(SubscriberProvider.SUBSCRIBER_PROVIDER);
+ return (SubscriberProvider)
singletonFc(SubscriberProvider.SUBSCRIBER_PROVIDER);
}
/*
Index: gotm/src/java/org/objectweb/gotm/lib/event/PublishState.java
diff -u gotm/src/java/org/objectweb/gotm/lib/event/PublishState.java:1.3
gotm/src/java/org/objectweb/gotm/lib/event/PublishState.java:1.4
--- gotm/src/java/org/objectweb/gotm/lib/event/PublishState.java:1.3 Mon
Jul 11 10:27:04 2005
+++ gotm/src/java/org/objectweb/gotm/lib/event/PublishState.java Fri
Oct 14 13:43:53 2005
@@ -23,7 +23,7 @@
Contributor(s): .
---------------------------------------------------------------------
-$Id: PublishState.java,v 1.3 2005/07/11 08:27:04 rouvoy Exp $
+$Id: PublishState.java,v 1.4 2005/10/14 11:43:53 rouvoy Exp $
====================================================================*/
package org.objectweb.gotm.lib.event;
@@ -34,8 +34,8 @@
/**
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
* @created 5 janv. 2005
- * @modified $Date: 2005/07/11 08:27:04 $
- * @version $Revision: 1.3 $
+ * @modified $Date: 2005/10/14 11:43:53 $
+ * @version $Revision: 1.4 $
* @fractal.itf name="publish" role="client"
signature="org.objectweb.transaction.api.event.PublishFeature"
*/
public abstract class PublishState
@@ -54,6 +54,6 @@
* @return the publisher interface.
*/
protected final PublishFeature getPublisher() {
- return (PublishFeature)
fcBindings.get(PublishFeature.PUBLISH_FEATURE);
+ return (PublishFeature) singletonFc(PublishFeature.PUBLISH_FEATURE);
}
}
\ No newline at end of file
Index: gotm/src/java/org/objectweb/gotm/lib/event/PublishSyncThread.java
diff -u gotm/src/java/org/objectweb/gotm/lib/event/PublishSyncThread.java:1.4
gotm/src/java/org/objectweb/gotm/lib/event/PublishSyncThread.java:1.5
--- gotm/src/java/org/objectweb/gotm/lib/event/PublishSyncThread.java:1.4
Tue Aug 16 15:36:18 2005
+++ gotm/src/java/org/objectweb/gotm/lib/event/PublishSyncThread.java Fri
Oct 14 13:43:53 2005
@@ -23,7 +23,7 @@
Contributor(s): .
---------------------------------------------------------------------
-$Id: PublishSyncThread.java,v 1.4 2005/08/16 13:36:18 rouvoy Exp $
+$Id: PublishSyncThread.java,v 1.5 2005/10/14 11:43:53 rouvoy Exp $
====================================================================*/
package org.objectweb.gotm.lib.event;
@@ -38,8 +38,8 @@
/**
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
* @created 11 juil. 2005
- * @modified $Date: 2005/08/16 13:36:18 $
- * @version $Revision: 1.4 $
+ * @modified $Date: 2005/10/14 11:43:53 $
+ * @version $Revision: 1.5 $
* @fractal.itf name="subscriber-provider" role="client"
signature="org.objectweb.gotm.lib.event.SubscriberProvider"
*/
public class PublishSyncThread
@@ -56,7 +56,7 @@
* @return the subscriber provider.
*/
protected SubscriberProvider getProvider() {
- return (SubscriberProvider)
fcBindings.get(SubscriberProvider.SUBSCRIBER_PROVIDER);
+ return (SubscriberProvider)
singletonFc(SubscriberProvider.SUBSCRIBER_PROVIDER);
}
@@ -90,8 +90,8 @@
/**
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
* @created 11 juil. 2005
- * @modified $Date: 2005/08/16 13:36:18 $
- * @version $Revision: 1.4 $
+ * @modified $Date: 2005/10/14 11:43:53 $
+ * @version $Revision: 1.5 $
* @fractal.itf
*/
protected final class NotifyAction extends Thread {
Index: gotm/src/java/org/objectweb/gotm/lib/event/SubscribablePrimitive.java
diff -u
gotm/src/java/org/objectweb/gotm/lib/event/SubscribablePrimitive.java:1.7
gotm/src/java/org/objectweb/gotm/lib/event/SubscribablePrimitive.java:1.8
--- gotm/src/java/org/objectweb/gotm/lib/event/SubscribablePrimitive.java:1.7
Tue Aug 16 15:36:18 2005
+++ gotm/src/java/org/objectweb/gotm/lib/event/SubscribablePrimitive.java
Fri Oct 14 13:43:53 2005
@@ -23,7 +23,7 @@
Contributor(s): .
---------------------------------------------------------------------
-$Id: SubscribablePrimitive.java,v 1.7 2005/08/16 13:36:18 rouvoy Exp $
+$Id: SubscribablePrimitive.java,v 1.8 2005/10/14 11:43:53 rouvoy Exp $
====================================================================*/
package org.objectweb.gotm.lib.event;
@@ -37,8 +37,8 @@
/**
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
* @created 12 janv. 2005
- * @modified $Date: 2005/08/16 13:36:18 $
- * @version $Revision: 1.7 $
+ * @modified $Date: 2005/10/14 11:43:53 $
+ * @version $Revision: 1.8 $
* @fractal.itf name="subscribe" role="client"
signature="org.objectweb.transaction.api.event.SubscribeFeature"
*/
public abstract class SubscribablePrimitive
@@ -60,7 +60,7 @@
}
protected SubscribeFeature getSubscriber() {
- return (SubscribeFeature)
fcBindings.get(SubscribeFeature.SUBSCRIBE_FEATURE);
+ return (SubscribeFeature)
singletonFc(SubscribeFeature.SUBSCRIBE_FEATURE);
}
/* (non-Javadoc)
Index:
gotm/src/java/org/objectweb/gotm/lib/factory/TransactionFactoryImpl.java
diff -u
gotm/src/java/org/objectweb/gotm/lib/factory/TransactionFactoryImpl.java:1.2
gotm/src/java/org/objectweb/gotm/lib/factory/TransactionFactoryImpl.java:1.3
---
gotm/src/java/org/objectweb/gotm/lib/factory/TransactionFactoryImpl.java:1.2
Tue Sep 6 10:01:47 2005
+++ gotm/src/java/org/objectweb/gotm/lib/factory/TransactionFactoryImpl.java
Fri Oct 14 13:43:54 2005
@@ -23,7 +23,7 @@
Contributor(s): .
---------------------------------------------------------------------
-$Id: TransactionFactoryImpl.java,v 1.2 2005/09/06 08:01:47 rouvoy Exp $
+$Id: TransactionFactoryImpl.java,v 1.3 2005/10/14 11:43:54 rouvoy Exp $
====================================================================*/
package org.objectweb.gotm.lib.factory;
@@ -42,8 +42,8 @@
/**
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
* @created 12 août 2005
- * @modified $Date: 2005/09/06 08:01:47 $
- * @version $Revision: 1.2 $
+ * @modified $Date: 2005/10/14 11:43:54 $
+ * @version $Revision: 1.3 $
* @fractal.itf name="tx-model" role="client" contingency="optional"
signature="org.objectweb.fractal.api.Component"
* @fractal.itf name="loaded-tx" role="client"
signature="java.util.Collection"
*/
@@ -87,7 +87,7 @@
}
protected final Collection loadedTx() {
- return (Collection) this.fcBindings.get(LOADED_TX);
+ return (Collection) singletonFc(LOADED_TX);
}
/**
Index:
gotm/src/java/org/objectweb/gotm/lib/factory/TransactionFactoryObservable.java
diff -u
gotm/src/java/org/objectweb/gotm/lib/factory/TransactionFactoryObservable.java:1.1
gotm/src/java/org/objectweb/gotm/lib/factory/TransactionFactoryObservable.java:1.2
---
gotm/src/java/org/objectweb/gotm/lib/factory/TransactionFactoryObservable.java:1.1
Tue Sep 6 10:01:47 2005
+++
gotm/src/java/org/objectweb/gotm/lib/factory/TransactionFactoryObservable.java
Fri Oct 14 13:43:54 2005
@@ -23,7 +23,7 @@
Contributor(s): .
---------------------------------------------------------------------
- $Id: TransactionFactoryObservable.java,v 1.1 2005/09/06 08:01:47 rouvoy Exp
$
+ $Id: TransactionFactoryObservable.java,v 1.2 2005/10/14 11:43:54 rouvoy Exp
$
====================================================================*/
package org.objectweb.gotm.lib.factory;
@@ -37,8 +37,8 @@
/**
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
* @created 29 août 2005
- * @modified $Date: 2005/09/06 08:01:47 $
- * @version $Revision: 1.1 $
+ * @modified $Date: 2005/10/14 11:43:54 $
+ * @version $Revision: 1.2 $
* @fractal.itf name="publish" role="client"
*
signature="org.objectweb.transaction.api.event.PublishFeature"
* cardinality="collection" contingency="optional"
@@ -56,7 +56,7 @@
}
protected final PublishFeature publish() {
- return (PublishFeature)
fcBindings.get(PublishFeature.PUBLISH_FEATURE);
+ return (PublishFeature) singletonFc(PublishFeature.PUBLISH_FEATURE);
}
/*
Index: gotm/src/java/org/objectweb/gotm/lib/logging/GenericLogger.java
diff -u gotm/src/java/org/objectweb/gotm/lib/logging/GenericLogger.java:1.3
gotm/src/java/org/objectweb/gotm/lib/logging/GenericLogger.java:1.4
--- gotm/src/java/org/objectweb/gotm/lib/logging/GenericLogger.java:1.3 Tue
Sep 6 10:01:46 2005
+++ gotm/src/java/org/objectweb/gotm/lib/logging/GenericLogger.java Fri
Oct 14 13:43:53 2005
@@ -23,7 +23,7 @@
Contributor(s): .
---------------------------------------------------------------------
-$Id: GenericLogger.java,v 1.3 2005/09/06 08:01:46 rouvoy Exp $
+$Id: GenericLogger.java,v 1.4 2005/10/14 11:43:53 rouvoy Exp $
====================================================================*/
package org.objectweb.gotm.lib.logging;
@@ -37,8 +37,8 @@
/**
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
* @created 7 juil. 2005
- * @modified $Date: 2005/09/06 08:01:46 $
- * @version $Revision: 1.3 $
+ * @modified $Date: 2005/10/14 11:43:53 $
+ * @version $Revision: 1.4 $
* @fractal.itf name="logger-provider" role="client"
signature="org.objectweb.gotm.lib.logging.LoggerProvider"
* @fractal.itf name="reference-provider" role="client"
signature="org.objectweb.gotm.lib.reference.ReferenceProvider"
*/
@@ -65,14 +65,14 @@
* @return the HOWL LoggerProvider interface.
*/
protected org.objectweb.howl.log.Logger logging() {
- return
((LoggerProvider)fcBindings.get(LoggerProvider.LOGGER_PROVIDER)).getLogging();
+ return
((LoggerProvider)singletonFc(LoggerProvider.LOGGER_PROVIDER)).getLogging();
}
/**
* @return the XID object.
*/
protected ReferenceFeature reference() {
- return
((ReferenceProvider)fcBindings.get(ReferenceProvider.REFERENCE_PROVIDER)).getReference();
+ return
((ReferenceProvider)singletonFc(ReferenceProvider.REFERENCE_PROVIDER)).getReference();
}
/* (non-Javadoc)
Index: gotm/src/java/org/objectweb/gotm/lib/probe/ProbeAbstract.java
diff -u gotm/src/java/org/objectweb/gotm/lib/probe/ProbeAbstract.java:1.2
gotm/src/java/org/objectweb/gotm/lib/probe/ProbeAbstract.java:1.3
--- gotm/src/java/org/objectweb/gotm/lib/probe/ProbeAbstract.java:1.2 Tue
Aug 16 15:36:18 2005
+++ gotm/src/java/org/objectweb/gotm/lib/probe/ProbeAbstract.java Fri
Oct 14 13:43:54 2005
@@ -23,7 +23,7 @@
Contributor(s): .
---------------------------------------------------------------------
-$Id: ProbeAbstract.java,v 1.2 2005/08/16 13:36:18 rouvoy Exp $
+$Id: ProbeAbstract.java,v 1.3 2005/10/14 11:43:54 rouvoy Exp $
====================================================================*/
package org.objectweb.gotm.lib.probe;
@@ -38,8 +38,8 @@
/**
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
* @created 3 août 2005
- * @modified $Date: 2005/08/16 13:36:18 $
- * @version $Revision: 1.2 $
+ * @modified $Date: 2005/10/14 11:43:54 $
+ * @version $Revision: 1.3 $
* @fractal.itf name="configurable" role="client"
signature="org.objectweb.gotm.lib.factory.Configurable"
*/
public abstract class ProbeAbstract
@@ -60,7 +60,7 @@
}
protected Configurable getConfigurable() {
- return (Configurable) fcBindings.get(Configurable.CONFIGURABLE);
+ return (Configurable) singletonFc(Configurable.CONFIGURABLE);
}
/* (non-Javadoc)
Index:
gotm/src/java/org/objectweb/gotm/lib/resource/ResourceManagerAbstract.java
diff -u
gotm/src/java/org/objectweb/gotm/lib/resource/ResourceManagerAbstract.java:1.5
gotm/src/java/org/objectweb/gotm/lib/resource/ResourceManagerAbstract.java:1.6
---
gotm/src/java/org/objectweb/gotm/lib/resource/ResourceManagerAbstract.java:1.5
Tue Aug 16 15:36:17 2005
+++
gotm/src/java/org/objectweb/gotm/lib/resource/ResourceManagerAbstract.java
Fri Oct 14 13:43:54 2005
@@ -23,7 +23,7 @@
Contributor(s): .
---------------------------------------------------------------------
-$Id: ResourceManagerAbstract.java,v 1.5 2005/08/16 13:36:17 rouvoy Exp $
+$Id: ResourceManagerAbstract.java,v 1.6 2005/10/14 11:43:54 rouvoy Exp $
====================================================================*/
package org.objectweb.gotm.lib.resource;
@@ -45,8 +45,8 @@
/**
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
* @created 4 juil. 2005
- * @modified $Date: 2005/08/16 13:36:17 $
- * @version $Revision: 1.5 $
+ * @modified $Date: 2005/10/14 11:43:54 $
+ * @version $Revision: 1.6 $
* @fractal.itf name="action-provider" role="client"
signature="org.objectweb.gotm.lib.resource.ActionProvider"
* @fractal.itf name="tx-state" role="client"
signature="org.objectweb.transaction.api.transaction.TransactionState"
*/
@@ -87,11 +87,11 @@
}
protected final ActionProvider actionProvider() {
- return (ActionProvider)
fcBindings.get(ActionProvider.ACTION_PROVIDER);
+ return (ActionProvider) singletonFc(ActionProvider.ACTION_PROVIDER);
}
protected final TransactionState txState() {
- return (TransactionState)
fcBindings.get(TransactionState.TRANSACTION_STATE);
+ return (TransactionState)
singletonFc(TransactionState.TRANSACTION_STATE);
}
/* (non-Javadoc)
Index:
gotm/src/java/org/objectweb/gotm/lib/resource/ResourceManagerWithPool.java
diff -u
gotm/src/java/org/objectweb/gotm/lib/resource/ResourceManagerWithPool.java:1.2
gotm/src/java/org/objectweb/gotm/lib/resource/ResourceManagerWithPool.java:1.3
---
gotm/src/java/org/objectweb/gotm/lib/resource/ResourceManagerWithPool.java:1.2
Mon Jul 18 09:30:10 2005
+++
gotm/src/java/org/objectweb/gotm/lib/resource/ResourceManagerWithPool.java
Fri Oct 14 13:43:54 2005
@@ -23,7 +23,7 @@
Contributor(s): .
---------------------------------------------------------------------
-$Id: ResourceManagerWithPool.java,v 1.2 2005/07/18 07:30:10 rouvoy Exp $
+$Id: ResourceManagerWithPool.java,v 1.3 2005/10/14 11:43:54 rouvoy Exp $
====================================================================*/
package org.objectweb.gotm.lib.resource;
@@ -37,8 +37,8 @@
* Implementation of a wrapper.
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
* @created 22 déc. 2004
- * @modified $Date: 2005/07/18 07:30:10 $
- * @version $Revision: 1.2 $
+ * @modified $Date: 2005/10/14 11:43:54 $
+ * @version $Revision: 1.3 $
* @fractal.itf name="runnable-manager" role="client"
signature="org.objectweb.util.thread.api.RunnableManager"
*/
public class ResourceManagerWithPool
@@ -59,7 +59,7 @@
* @return the runnable manager bound to the current component
*/
protected final RunnableManager getRunnableManager() {
- return (RunnableManager)
fcBindings.get(RunnableManager.RUNNABLE_MANAGER);
+ return (RunnableManager)
singletonFc(RunnableManager.RUNNABLE_MANAGER);
}
protected void execute(Action action, Object resource, Map context1) {
| <-- Date Index --> | <-- Thread Index --> |
Powered by MHonArc.
Copyright © 2006-2007, OW2 Consortium | contact | webmaster.