org.apache.oodt.cas.filemgr.ingest
Class RmiCacheServerFactory

java.lang.Object
  extended by org.apache.oodt.cas.filemgr.ingest.AbstractCacheServerFactory
      extended by org.apache.oodt.cas.filemgr.ingest.RmiCacheServerFactory
All Implemented Interfaces:
CacheFactory

public class RmiCacheServerFactory
extends AbstractCacheServerFactory

Version:
$Revision$

Constructs new RmiCacheServers.

.
Author:
mattmann

Field Summary
 
Fields inherited from class org.apache.oodt.cas.filemgr.ingest.AbstractCacheServerFactory
fmUrl, productTypeNames, rangeEndDateTime, rangeQueryElementName, rangeStartDateTime, uniqueElementName
 
Constructor Summary
RmiCacheServerFactory()
           
 
Method Summary
 Cache createCache()
          Create a new Cache.
 RmiCacheServer createRemoteCache()
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RmiCacheServerFactory

public RmiCacheServerFactory()
                      throws InstantiationException
Throws:
InstantiationException
Method Detail

createCache

public Cache createCache()
                  throws InstantiationException
Description copied from interface: CacheFactory
Create a new Cache.

Specified by:
createCache in interface CacheFactory
Specified by:
createCache in class AbstractCacheServerFactory
Returns:
A new Cache, constructed by the implementing Factory.
Throws:
InstantiationException - If the the particular Cache can not be created for some reason.

createRemoteCache

public RmiCacheServer createRemoteCache()
                                 throws InstantiationException
Throws:
InstantiationException

main

public static void main(String[] args)


Copyright © 1999-2013
Apache OODT. All Rights Reserved.