[prev in list] [next in list] [prev in thread] [next in thread]
List: jboss-cvs-commits
Subject: [jboss-cvs] jboss/src/main/org/jboss/invocation/http/server HttpInvoker.java
From: Scott M Stark <starksm () users ! sourceforge ! net>
Date: 2004-07-31 19:54:54
Message-ID: E1BqzwU-0003br-PA () sc8-pr-cvs1 ! sourceforge ! net
[Download RAW message or body]
User: starksm
Date: 04/07/31 12:54:51
Modified: src/main/org/jboss/invocation/http/server Tag: Branch_3_2
HttpInvoker.java
Log:
Remove the binding of the invoker into JNDI
Revision Changes Path
No revision
No revision
1.1.2.6 +1 -13 jboss/src/main/org/jboss/invocation/http/server/HttpInvoker.java
Index: HttpInvoker.java
===================================================================
RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/invocation/http/server/HttpInvoker.java,v
retrieving revision 1.1.2.5
retrieving revision 1.1.2.6
diff -u -r1.1.2.5 -r1.1.2.6
--- HttpInvoker.java 31 Jul 2004 19:51:09 -0000 1.1.2.5
+++ HttpInvoker.java 31 Jul 2004 19:54:51 -0000 1.1.2.6
@@ -20,7 +20,6 @@
import org.jboss.invocation.Invoker;
import org.jboss.invocation.MarshalledInvocation;
import org.jboss.invocation.http.interfaces.HttpInvokerProxy;
-import org.jboss.naming.Util;
import org.jboss.system.Registry;
import org.jboss.system.ServiceMBeanSupport;
import org.jboss.system.server.ServerConfigUtil;
@@ -30,7 +29,7 @@
* The HttpInvoker ... into the JMX base.
*
* @author <a href="mailto:scott.stark@jboss.org>Scott Stark</a>
- * @version $Revision: 1.1.2.5 $
+ * @version $Revision: 1.1.2.6 $
*/
public class HttpInvoker extends ServiceMBeanSupport
implements HttpInvokerMBean
@@ -85,22 +84,11 @@
throws Exception
{
checkInvokerURL();
- InitialContext context = new InitialContext();
Invoker delegateInvoker = new HttpInvokerProxy(invokerURL);
// Export the Invoker interface
ObjectName name = super.getServiceName();
Registry.bind(name, delegateInvoker);
-
- // Bind the invoker in the JNDI invoker naming space
- Util.rebind(
- // The context
- context,
- // It should look like so "invokers/<name>/jrmp"
- "invokers/"+InetAddress.getLocalHost().getHostName()+"/http",
- // The bare invoker
- delegateInvoker);
-
log.debug("Bound Http invoker for JMX node");
}
-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
jboss-cvs-commits mailing list
jboss-cvs-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-cvs-commits
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic