org.globus.wsrf.impl.servicegroup.inmemory
Class InMemoryServiceGroupResource
java.lang.Object
org.globus.wsrf.impl.servicegroup.inmemory.InMemoryServiceGroupResource
- All Implemented Interfaces:
- Resource, ResourceProperties, ServiceGroupRegistrationResource, ServiceGroupResource
- public class InMemoryServiceGroupResource
- extends Object
- implements ResourceProperties, ServiceGroupRegistrationResource
Implements a simple in-memory service group resource.
Entries will be stored in a hash table under each service group resource
so that we can easily find them; the key for a service group entry
must first contain the key to the appropriate service group and then
the key within that to the appropriate entry.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
private static org.apache.commons.logging.Log logger
RP_SET
public static final QName RP_SET
propSet
ResourcePropertySet propSet
entries
HashMap entries
- Maps entry keys to entry resource objects.
key
private ResourceKey key
InMemoryServiceGroupResource
public InMemoryServiceGroupResource()
getResourcePropertySet
public ResourcePropertySet getResourcePropertySet()
- Specified by:
getResourcePropertySet in interface ResourceProperties
getKey
public ResourceKey getKey()
iterateEntryKeys
public Iterator iterateEntryKeys()
- Description copied from interface:
ServiceGroupResource
- Provide an iterator that will return ResourceKeys that are valid
in the context of the entry home
- Specified by:
iterateEntryKeys in interface ServiceGroupResource
iterateEntryValues
public Iterator iterateEntryValues()
- Description copied from interface:
ServiceGroupResource
- Provide an iterator to a java.util.Set for getting the runtime entry
Resource instances directly. The element returned by the iterator is
of the type Map.Entry
- Specified by:
iterateEntryValues in interface ServiceGroupResource
serviceGroupAdd
public EndpointReferenceType serviceGroupAdd(Add add)
throws RemoteException
- Specified by:
serviceGroupAdd in interface ServiceGroupRegistrationResource
- Throws:
RemoteException