|
|||||||||||
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 | |
java.net.URL |
getEndpoint()
|
GSR |
getGSR()
gets the GSR that was last resolved |
java.lang.Object |
getLocal(HandleType targetService)
|
java.lang.Object |
getLocal(java.lang.String path)
|
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 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(java.lang.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 GridLocator
enableCacheGSR
- if set to true (false is default) the locator will cache resolved GSRspublic java.lang.Object getServicePort(java.net.URL endpointAddress) throws GridServiceException
GridLocator
getServicePort
in interface GridLocator
endpointAddress
- endpoint URL that will be used to send messages invoked on the proxy created by this method
GridServiceException
public java.lang.Object getServicePort(HandleType handle) throws FaultType, GridServiceException
GridLocator
getServicePort
in interface GridLocator
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 frameworkpublic java.lang.Object getLocal(HandleType targetService) throws GridServiceException
GridServiceException
public java.lang.Object getLocal(java.lang.String path) throws GridServiceException
GridServiceException
public java.lang.Object getServicePort(LocatorType locator) throws FaultType, GridServiceException
GridLocator
getServicePort
in interface GridLocator
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 frameworkpublic java.net.URL getEndpoint()
public GSR getGSR()
GridLocator
getGSR
in interface GridLocator
public void setStubClass(java.lang.Class stubClass)
GridLocator
setStubClass
in interface GridLocator
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |