public abstract class AxisResourceServiceStub extends java.lang.Object implements ResourceServiceStub
ResourceService
that uses Axis SOAP to communicate with the service.Constructor and Description |
---|
AxisResourceServiceStub(java.lang.String aEndpoint,
java.lang.Integer aTimeout)
Sets the endpoint of the service with which this proxy communicates.
|
Modifier and Type | Method and Description |
---|---|
ResourceMetaData |
callGetMetaData()
Performs service call to retreive resource meta data.
|
java.net.URL |
getServiceEndpoint()
Gets the service endpoint URL.
|
java.lang.Integer |
getTimeout()
Gets the timeout period.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
destroy
public AxisResourceServiceStub(java.lang.String aEndpoint, java.lang.Integer aTimeout) throws java.net.MalformedURLException
aEndpoint
- the service endpoint URIaTimeout
- timeout period in milliseconds, or null to use Axis's default valuejava.net.MalformedURLException
- if aEndpoint
is not a valid URLpublic ResourceMetaData callGetMetaData() throws ResourceServiceException
ResourceServiceStub
callGetMetaData
in interface ResourceServiceStub
ResourceServiceException
org.apache.uima.resource.service.ResourceService#getMetaData()
public java.net.URL getServiceEndpoint()
public java.lang.Integer getTimeout()
Copyright © 2012. All Rights Reserved.