[jboss-cvs] JBossAS SVN: r79027 - branches/JBPAPP_4_2_0_GA_CP/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:20:42 EDT 2008
Author: galder.zamarreno at jboss.com
Date: 2008-10-02 09:20:42 -0400 (Thu, 02 Oct 2008)
New Revision: 79027
Modified:
branches/JBPAPP_4_2_0_GA_CP/server/src/main/org/jboss/invocation/jrmp/server/JRMPProxyFactory.java
Log:
[JBPAPP-1247] Call rebind() rather than just bind() to enable redeployment.
Modified: branches/JBPAPP_4_2_0_GA_CP/server/src/main/org/jboss/invocation/jrmp/server/JRMPProxyFactory.java
===================================================================
--- branches/JBPAPP_4_2_0_GA_CP/server/src/main/org/jboss/invocation/jrmp/server/JRMPProxyFactory.java 2008-10-02 13:15:35 UTC (rev 79026)
+++ branches/JBPAPP_4_2_0_GA_CP/server/src/main/org/jboss/invocation/jrmp/server/JRMPProxyFactory.java 2008-10-02 13:20:42 UTC (rev 79027)
@@ -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