|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.axis.client.Service
org.globus.ogsa.impl.core.service.ServiceLocator
extends client side Axis service with GSI and SOAP Extensibility elements
| Nested Class Summary |
| Nested classes inherited from class org.apache.axis.client.Service |
org.apache.axis.client.Service.HandlerRegistryImpl |
| Constructor Summary | |
ServiceLocator()
|
|
ServiceLocator(org.apache.axis.EngineConfiguration config)
|
|
| Method Summary | |
URL |
getEndpoint()
|
GSR |
getGSR()
gets the GSR that was last resolved |
Object |
getLocal(HandleType targetService)
|
Object |
getLocal(String path)
|
Object |
getServicePort(HandleType handle)
creates a proxy for a particular handle (which is inspected and resolved into a GSR) |
Object |
getServicePort(LocatorType locator)
creates a proxy using an OGSI LocatorType (the return parameter of an OGSI Factory createService call). |
Object |
getServicePort(URL endpointAddress)
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(Class stubClass)
sets the stub class to be created, typically done by generated typed locators |
| Methods inherited from class org.apache.axis.client.Service |
createCall, createCall, createCall, createCall, getAxisClient, getCacheWSDL, getCall, getCalls, getEngine, getEngineConfiguration, getHandlerRegistry, getMaintainSession, getPort, getPort, getPort, getPorts, getReference, getServiceName, getTypeMappingRegistry, getWSDLDocumentLocation, getWSDLParser, getWSDLService, setCacheWSDL, setEngine, setEngineConfiguration, setMaintainSession, setTypeMappingRegistry |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 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 |
| Constructor Detail |
public ServiceLocator()
public ServiceLocator(org.apache.axis.EngineConfiguration config)
| Method Detail |
public void setEnableCacheGSR(boolean enableCacheGSR)
GridLocator
setEnableCacheGSR in interface GridLocatorenableCacheGSR - if set to true (false is default) the locator will cache resolved GSRs
public Object getServicePort(URL endpointAddress)
throws GridServiceException
GridLocator
getServicePort in interface GridLocatorendpointAddress - endpoint URL that will be used to send messages invoked on the proxy created by this method
GridServiceException
public Object getServicePort(HandleType handle)
throws FaultType,
GridServiceException
GridLocator
getServicePort in interface GridLocatorhandle - 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
public Object getLocal(HandleType targetService)
throws GridServiceException
GridServiceException
public Object getLocal(String path)
throws GridServiceException
GridServiceException
public Object getServicePort(LocatorType locator)
throws FaultType,
GridServiceException
GridLocator
getServicePort in interface GridLocatorlocator - 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 frameworkpublic URL getEndpoint()
public GSR getGSR()
GridLocator
getGSR in interface GridLocatorpublic void setStubClass(Class stubClass)
GridLocator
setStubClass in interface GridLocator
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||