|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jcs.auxiliary.remote.server.RemoteCacheServerFactory
Provides remote cache services.
Field Summary | |
private static RemoteCacheServer |
instance
The single instance of the RemoteCacheServer object. |
private static org.apache.commons.logging.Log |
log
|
private static java.lang.String |
serviceName
|
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 |
Constructor Summary | |
private |
RemoteCacheServerFactory()
Constructor for the RemoteCacheServerFactory object |
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. |
(package private) static void |
shutdownImpl(java.lang.String host,
int port)
put your documentation comment here |
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 |
Field Detail |
private static final org.apache.commons.logging.Log log
private static RemoteCacheServer instance
private static java.lang.String serviceName
Constructor Detail |
private RemoteCacheServerFactory()
Method Detail |
public static void startup(java.lang.String host, int port, java.lang.String propFile) throws java.io.IOException, java.rmi.NotBoundException
java.io.IOException
java.rmi.NotBoundException
static void shutdownImpl(java.lang.String host, int port) throws java.io.IOException
host
- port
-
java.io.IOException
public static void main(java.lang.String[] args) throws java.lang.Exception
args
- The command line arguments
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |