KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > remoting > marshall > dynamic > remote > http > MarshallerLoadingConstants


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7 package org.jboss.remoting.marshall.dynamic.remote.http;
8
9 import org.jboss.remoting.InvokerLocator;
10
11 /**
12  * @author <a HREF="mailto:telrod@jboss.com">Tom Elrod</a>
13  */

14 public interface MarshallerLoadingConstants
15 {
16    // Default locator values
17
static String JavaDoc transport = "http";
18 // static String transport = "socket";
19
static String JavaDoc host = "localhost";
20    static int port = 5402;
21    static int loaderPort = 5403;
22
23    static String JavaDoc dataType = "test";
24    static String JavaDoc locatorURI = transport + "://" + host + ":" + port + "/?" +
25                               InvokerLocator.DATATYPE + "=" + dataType + "&" +
26                               InvokerLocator.LOADER_PORT + "=" + loaderPort + "&" +
27                               InvokerLocator.MARSHALLER + "=" + "org.jboss.remoting.marshall.dynamic.TestMarshaller" + "&" +
28                               InvokerLocator.UNMARSHALLER + "=" + "org.jboss.remoting.marshall.dynamic.TestUnMarshaller";
29    ;
30 }
31
Popular Tags