|
|||||||||||
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
GSR
getGSR()
gets the GSR that was last resolved
java.lang.Object
getServicePort(HandleType handle)
creates a proxy for a particular handle (which is inspected and resolved into a GSR)
java.lang.Object
getServicePort(LocatorType locator)
creates a proxy using an OGSI LocatorType (the return parameter of an
OGSI Factory createService call).
java.lang.Object
getServicePort(java.net.URL url)
creates a proxy for a particular endpoint URL
void
setEnableCacheGSR(boolean enableCacheGSR)
determines whether all stubs created by this locator should be
associated with the same reference.
void
setStubClass(java.lang.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(java.lang.Class stubClass)
getServicePort
public java.lang.Object getServicePort(java.net.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 java.lang.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 java.lang.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.