org.apache.jcs.auxiliary.remote.server
Class RemoteCacheServerFactory

java.lang.Object
  extended byorg.apache.jcs.auxiliary.remote.server.RemoteCacheServerFactory
All Implemented Interfaces:
IRemoteCacheConstants

public class RemoteCacheServerFactory
extends java.lang.Object
implements IRemoteCacheConstants

Provides remote cache services.


Field Summary
 
Fields inherited from interface org.apache.jcs.auxiliary.remote.behavior.IRemoteCacheConstants
REMOTE_ALLOW_CLUSTER_GET, REMOTE_CACHE_SERVICE_NAME, REMOTE_CACHE_SERVICE_PORT, REMOTE_CACHE_SERVICE_VAL, REMOTE_LOCAL_CLUSTER_CONSISTENCY, TOMCAT_ON, TOMCAT_XML
 
Method Summary
static void main(java.lang.String[] args)
          Creates an local RMI registry on the default port, starts up the remote cache server, and binds it to the registry.
static void startup(java.lang.String host, int port, java.lang.String propFile)
          Starts up the remote cache server on this JVM, and binds it to the registry on the given host and port.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

startup

public static void startup(java.lang.String host,
                           int port,
                           java.lang.String propFile)
                    throws java.io.IOException,
                           java.rmi.NotBoundException
Starts up the remote cache server on this JVM, and binds it to the registry on the given host and port.

Parameters:
host -
port -
propFile -
Throws:
java.io.IOException
java.rmi.NotBoundException

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Creates an local RMI registry on the default port, starts up the remote cache server, and binds it to the registry.

Parameters:
args - The command line arguments
Throws:
java.lang.Exception


Copyright © 2002-2007 Apache Software Foundation. All Rights Reserved.