org.globus.wsrf.impl.servicegroup.inmemory
Class InMemoryServiceGroupFactory

java.lang.Object
  extended byorg.globus.wsrf.impl.servicegroup.inmemory.InMemoryServiceGroupFactory
All Implemented Interfaces:
Remote, org.globus.wsrf.ResourceProperties, org.globus.mds.servicegroup.stubs.ServiceGroupFactoryPortType

public class InMemoryServiceGroupFactory
extends Object
implements org.globus.mds.servicegroup.stubs.ServiceGroupFactoryPortType, org.globus.wsrf.ResourceProperties

A factory implementation for creating new InMemoryServiceGroups.


Field Summary
static QName RP_SET
          I don't think this gets used for anything in the core yet?
 
Constructor Summary
InMemoryServiceGroupFactory()
           
 
Method Summary
 org.globus.mds.servicegroup.stubs.CreateResponse create(org.globus.mds.servicegroup.stubs.Create request)
           
 org.oasis.wsrf.properties.GetMultipleResourcePropertiesResponse getMultipleResourceProperties(org.oasis.wsrf.properties.GetMultipleResourceProperties_Element request)
           
static Object getResourceJNDIParameter(String name)
          Returns a named parameter from the present service's JNDI block.
 org.oasis.wsrf.properties.GetResourcePropertyResponse getResourceProperty(QName name)
           
 org.globus.wsrf.ResourcePropertySet getResourcePropertySet()
           
 org.oasis.wsrf.properties.QueryResourcePropertiesResponse queryResourceProperties(org.oasis.wsrf.properties.QueryResourceProperties_Element request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RP_SET

public static final QName RP_SET
I don't think this gets used for anything in the core yet?

Constructor Detail

InMemoryServiceGroupFactory

public InMemoryServiceGroupFactory()
Method Detail

create

public org.globus.mds.servicegroup.stubs.CreateResponse create(org.globus.mds.servicegroup.stubs.Create request)
                                                        throws RemoteException
Specified by:
create in interface org.globus.mds.servicegroup.stubs.ServiceGroupFactoryPortType
Throws:
RemoteException

queryResourceProperties

public org.oasis.wsrf.properties.QueryResourcePropertiesResponse queryResourceProperties(org.oasis.wsrf.properties.QueryResourceProperties_Element request)
                                                                                  throws RemoteException,
                                                                                         org.oasis.wsrf.properties.InvalidResourcePropertyQNameFaultType,
                                                                                         org.oasis.wsrf.properties.InvalidQueryExpressionFaultType,
                                                                                         org.oasis.wsrf.properties.QueryEvaluationErrorFaultType,
                                                                                         org.oasis.wsrf.properties.ResourceUnknownFaultType,
                                                                                         org.oasis.wsrf.properties.UnknownQueryExpressionDialectFaultType
Throws:
RemoteException
org.oasis.wsrf.properties.InvalidResourcePropertyQNameFaultType
org.oasis.wsrf.properties.InvalidQueryExpressionFaultType
org.oasis.wsrf.properties.QueryEvaluationErrorFaultType
org.oasis.wsrf.properties.ResourceUnknownFaultType
org.oasis.wsrf.properties.UnknownQueryExpressionDialectFaultType

getMultipleResourceProperties

public org.oasis.wsrf.properties.GetMultipleResourcePropertiesResponse getMultipleResourceProperties(org.oasis.wsrf.properties.GetMultipleResourceProperties_Element request)
                                                                                              throws RemoteException,
                                                                                                     org.oasis.wsrf.properties.InvalidResourcePropertyQNameFaultType,
                                                                                                     org.oasis.wsrf.properties.ResourceUnknownFaultType
Throws:
RemoteException
org.oasis.wsrf.properties.InvalidResourcePropertyQNameFaultType
org.oasis.wsrf.properties.ResourceUnknownFaultType

getResourceProperty

public org.oasis.wsrf.properties.GetResourcePropertyResponse getResourceProperty(QName name)
                                                                          throws RemoteException,
                                                                                 org.oasis.wsrf.properties.InvalidResourcePropertyQNameFaultType,
                                                                                 org.oasis.wsrf.properties.ResourceUnknownFaultType
Throws:
RemoteException
org.oasis.wsrf.properties.InvalidResourcePropertyQNameFaultType
org.oasis.wsrf.properties.ResourceUnknownFaultType

getResourcePropertySet

public org.globus.wsrf.ResourcePropertySet getResourcePropertySet()
Specified by:
getResourcePropertySet in interface org.globus.wsrf.ResourceProperties

getResourceJNDIParameter

public static Object getResourceJNDIParameter(String name)
                                       throws Exception
Returns a named parameter from the present service's JNDI block.
TODO: a unit test for this would be to call and check that we get the same answer back as using the resource context getResourceHome call
TODO: this could be factored out into some other class? ResourceContext?

Throws:
Exception


Copyright © 1999-2006 University of Chicago. All rights reserved.