org.globus.rendezvous.service
Class RendezvousHome

java.lang.Object
  extended byorg.globus.wsrf.impl.ResourceHomeImpl
      extended byorg.globus.rendezvous.service.RendezvousHome
All Implemented Interfaces:
Initializable, ResourceHome

public class RendezvousHome
extends ResourceHomeImpl


Nested Class Summary
 
Nested classes inherited from class org.globus.wsrf.impl.ResourceHomeImpl
 
Field Summary
(package private) static org.apache.commons.logging.Log logger
           
private static UUIDGen uuidGen
           
 
Fields inherited from class org.globus.wsrf.impl.ResourceHomeImpl
keyTypeClass, keyTypeName, lockManager, resourceClass, resources
 
Constructor Summary
RendezvousHome()
           
 
Method Summary
 ResourceIdentifier create(int capacity)
          The actual key value is computed automatically by this function as a UUID.
private static RendezvousResourceProperties createResourcePropertiesBean(int capacity)
           
private static SimpleResourceKey getResourceKey(String keyValue)
           
 void initialize()
           
 
Methods inherited from class org.globus.wsrf.impl.ResourceHomeImpl
add, createNewInstance, createNewInstanceAndLoad, find, getCacheLocation, getKeyTypeClass, getKeyTypeName, getResourceClass, getSweeperDelay, remove, setCacheLocation, setResourceClass, setResourceKeyName, setResourceKeyType, setSweeperDelay
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

static org.apache.commons.logging.Log logger

uuidGen

private static UUIDGen uuidGen
Constructor Detail

RendezvousHome

public RendezvousHome()
Method Detail

initialize

public void initialize()
                throws Exception
Throws:
Exception

create

public ResourceIdentifier create(int capacity)
                          throws Exception
The actual key value is computed automatically by this function as a UUID. Precondition: capacity >= 0

Returns:
ResourceIdentifier
Throws:
Exception

getResourceKey

private static final SimpleResourceKey getResourceKey(String keyValue)

createResourcePropertiesBean

private static RendezvousResourceProperties createResourcePropertiesBean(int capacity)