[jboss-cvs] JBossAS SVN: r61866 - branches/Branch_4_2/ejb3/src/main/org/jboss/ejb3/stateful.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Mar 29 17:26:48 EDT 2007
Author: bstansberry at jboss.com
Date: 2007-03-29 17:26:48 -0400 (Thu, 29 Mar 2007)
New Revision: 61866
Modified:
branches/Branch_4_2/ejb3/src/main/org/jboss/ejb3/stateful/StatefulClusterProxyFactory.java
branches/Branch_4_2/ejb3/src/main/org/jboss/ejb3/stateful/StatefulRemoteProxyFactory.java
Log:
[JBAS-4272] Use the correct name in Dispatcher.unregisterTarget
Modified: branches/Branch_4_2/ejb3/src/main/org/jboss/ejb3/stateful/StatefulClusterProxyFactory.java
===================================================================
--- branches/Branch_4_2/ejb3/src/main/org/jboss/ejb3/stateful/StatefulClusterProxyFactory.java 2007-03-29 21:01:51 UTC (rev 61865)
+++ branches/Branch_4_2/ejb3/src/main/org/jboss/ejb3/stateful/StatefulClusterProxyFactory.java 2007-03-29 21:26:48 UTC (rev 61866)
@@ -163,7 +163,7 @@
public void stop() throws Exception
{
- Dispatcher.singleton.unregisterTarget(jndiName + PROXY_FACTORY_NAME);
+ Dispatcher.singleton.unregisterTarget(getTargetId());
hatarget.destroy();
((StatefulContainer) container).getClusterFamilies().remove(proxyFamilyName);
Util.unbind(container.getInitialContext(), jndiName + PROXY_FACTORY_NAME);
Modified: branches/Branch_4_2/ejb3/src/main/org/jboss/ejb3/stateful/StatefulRemoteProxyFactory.java
===================================================================
--- branches/Branch_4_2/ejb3/src/main/org/jboss/ejb3/stateful/StatefulRemoteProxyFactory.java 2007-03-29 21:01:51 UTC (rev 61865)
+++ branches/Branch_4_2/ejb3/src/main/org/jboss/ejb3/stateful/StatefulRemoteProxyFactory.java 2007-03-29 21:26:48 UTC (rev 61866)
@@ -141,7 +141,7 @@
public void stop() throws Exception
{
Util.unbind(container.getInitialContext(), jndiName + PROXY_FACTORY_NAME);
- Dispatcher.singleton.unregisterTarget(jndiName + PROXY_FACTORY_NAME);
+ Dispatcher.singleton.unregisterTarget(getTargetId());
StatefulContainer statefulContainer = (StatefulContainer) container;
RemoteHome remoteHome = (RemoteHome) statefulContainer.resolveAnnotation(RemoteHome.class);
More information about the jboss-cvs-commits
mailing list