|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The
GridLocator interface defines the base class of
all type specific ServiceLocators used to create stubs on the
client side. It is en extension of the JAX-RPC defined Locator.
Method Summary
GSRgetGSR()
gets the GSR that was last resolved
ObjectgetServicePort(HandleType handle)
creates a proxy for a particular handle (which is inspected and resolved into a GSR)
ObjectgetServicePort(LocatorType locator)
creates a proxy using an OGSI LocatorType (the return parameter of an
OGSI Factory createService call).
ObjectgetServicePort(URL url)
creates a proxy for a particular endpoint URL
voidsetEnableCacheGSR(boolean enableCacheGSR)
determines whether all stubs created by this locator should be
associated with the same reference.
voidsetStubClass(Class stubClass)
sets the stub class to be created, typically done by generated typed locators
Methods inherited from interface javax.xml.rpc.Service
createCall, createCall, createCall, createCall, getCalls, getHandlerRegistry, getPort, getPort, getPorts, getServiceName, getTypeMappingRegistry, getWSDLDocumentLocation
Methods inherited from interface javax.naming.Referenceable
getReference
Method Detail
setEnableCacheGSR
public void setEnableCacheGSR(boolean enableCacheGSR)
enableCacheGSR - if set to true (false is default) the locator will cache resolved GSRs
getGSR
public GSR getGSR()
setStubClass
public void setStubClass(Class stubClass)
getServicePort
public Object getServicePort(URL url)
throws GridServiceException
url - endpoint URL that will be used to send messages invoked on the proxy created by this method
GridServiceException
getServicePort
public Object getServicePort(HandleType handle)
throws FaultType,
GridServiceException
handle - the handle to resolve and create a stub for
FaultType - if a something went wrong during remote handle resolution
GridServiceException - if a local exception occurred internally in the framework
getServicePort
public Object getServicePort(LocatorType locator)
throws FaultType,
GridServiceException
locator - the OGSI locator to (potentially) resolve and create a stub for
FaultType - if a something went wrong during remote handle resolution
GridServiceException - if a local exception occurred internally in the framework
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
Copyright ? 1999 University of Chicago and The University of Southern California. All Rights Reserved.