KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > remoting > marshall > dynamic > remote > socket > 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.socket;
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 = "socket";
18    static String JavaDoc host = "localhost";
19    static int port = 5400;
20    static int loaderPort = 5401;
21
22    static String JavaDoc dataType = "test";
23    static String JavaDoc locatorURI = transport + "://" + host + ":" + port + "/?" +
24                               InvokerLocator.DATATYPE + "=" + dataType + "&" +
25                               InvokerLocator.LOADER_PORT + "=" + loaderPort + "&" +
26                               InvokerLocator.MARSHALLER + "=" + "org.jboss.remoting.marshall.dynamic.TestMarshaller" + "&" +
27                               InvokerLocator.UNMARSHALLER + "=" + "org.jboss.remoting.marshall.dynamic.TestUnMarshaller";
28    ;
29 }
30
Popular Tags