|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.globus.ogsa.impl.ogsi.HandleResolverProvider
Implements a handle resolver to get a new updated GSR for a handle
Constructor Summary | |
HandleResolverProvider()
|
Method Summary | |
LocatorType |
findByHandle(LocatorType handleSet,
LocatorType gsrExclusionSet)
Returns a locator containing one or more Grid Service References for the Grid Service Handles in the HandleSet locator. |
javax.xml.namespace.QName[] |
getOperations()
Called during initialization when the Grid service needs to find out what operations are supported by this provider. |
void |
initialize(GridServiceBase serviceBase)
Called when the operation provider is added to a grid service. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HandleResolverProvider()
Method Detail |
public javax.xml.namespace.QName[] getOperations()
OperationProvider
getOperations
in interface OperationProvider
new QName[] {new QName("","*")}
, will result in all
incoming operations being redirected to this provider (apart from the
OGSI defined GridService interface operations provided by the
GridServiceBase implementation. Note that individual
operations in the OGSI namespace could still be overridded with this
approach, but not using the 'all namespaces and all operation' wildcard.
public void initialize(GridServiceBase serviceBase) throws GridServiceException
OperationProvider
initialize
in interface OperationProvider
serviceBase
- the service this provider is being associated with
GridServiceException
- if the initialization (and service creation
is to be aborted)public LocatorType findByHandle(LocatorType handleSet, LocatorType gsrExclusionSet) throws java.rmi.RemoteException, RedirectionFaultType, ServiceHasTerminatedFaultType, InvalidHandleFaultType, NoAdditionalReferencesAvailableFaultType, FaultType, TemporarilyUnavailableFaultType, NoSuchServiceStartedFaultType, NoReferencesAvailableFaultType, NoSuchServiceFaultType
handleSet
- A locator containing one or more Grid Service Handles
that refer to the same Grid service instance.gsrExclusionSet
- A locator containing one or more GSRs that
should not be returned (not used currently)
java.rmi.RemoteException
RedirectionFaultType
ServiceHasTerminatedFaultType
InvalidHandleFaultType
NoAdditionalReferencesAvailableFaultType
FaultType
TemporarilyUnavailableFaultType
NoSuchServiceStartedFaultType
NoReferencesAvailableFaultType
NoSuchServiceFaultType
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |