[jboss-cvs] JBossAS SVN: r79026 - trunk/server/src/main/org/jboss/invocation/jrmp/server.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Oct 2 09:15:36 EDT 2008
Author: galder.zamarreno at jboss.com
Date: 2008-10-02 09:15:35 -0400 (Thu, 02 Oct 2008)
New Revision: 79026
Modified:
trunk/server/src/main/org/jboss/invocation/jrmp/server/JRMPProxyFactory.java
Log:
[JBAS-6017] Call rebind() rather than just bind() to enable redeployment.
Modified: trunk/server/src/main/org/jboss/invocation/jrmp/server/JRMPProxyFactory.java
===================================================================
--- trunk/server/src/main/org/jboss/invocation/jrmp/server/JRMPProxyFactory.java 2008-10-02 12:12:09 UTC (rev 79025)
+++ trunk/server/src/main/org/jboss/invocation/jrmp/server/JRMPProxyFactory.java 2008-10-02 13:15:35 UTC (rev 79026)
@@ -46,6 +46,7 @@
* is bound to.
*
* @author Scott.Stark at jboss.org
+ * @author <a href="mailto:galder.zamarreno at jboss.com">Galder Zamarreno</a>
* @version $Revision$
*/
public class JRMPProxyFactory extends ServiceMBeanSupport
@@ -205,7 +206,7 @@
if( jndiName != null )
{
InitialContext iniCtx = new InitialContext();
- Util.bind(iniCtx, jndiName, theProxy);
+ Util.rebind(iniCtx, jndiName, theProxy);
log.debug("Bound proxy under jndiName="+jndiName);
}
More information about the jboss-cvs-commits
mailing list