Author: adrianc
Date: Sat Aug 30 13:01:39 2014
New Revision: 1621454
URL:
http://svn.apache.org/r1621454Log:
GenericDispatcherFactory.java FIXME comment.
Modified:
ofbiz/trunk/framework/service/src/org/ofbiz/service/GenericDispatcherFactory.java
Modified: ofbiz/trunk/framework/service/src/org/ofbiz/service/GenericDispatcherFactory.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/src/org/ofbiz/service/GenericDispatcherFactory.java?rev=1621454&r1=1621453&r2=1621454&view=diff==============================================================================
--- ofbiz/trunk/framework/service/src/org/ofbiz/service/GenericDispatcherFactory.java (original)
+++ ofbiz/trunk/framework/service/src/org/ofbiz/service/GenericDispatcherFactory.java Sat Aug 30 13:01:39 2014
@@ -56,6 +56,10 @@ public class GenericDispatcherFactory im
}
this.name = name;
this.dispatcher = ServiceDispatcher.getInstance(delegator);
+ /*
+ * FIXME: "this" reference escape. DispatchContext constructor uses
+ * this object before it is fully constructed.
+ */
DispatchContext ctx = new DispatchContext(name, loader, this);
this.dispatcher.register(ctx);
this.ctx = ctx;