Package org.apache.uima.resource

# Interface ResourceServiceStub

All Known Subinterfaces:
  `AnalysisEngineServiceStub`

public interface ResourceServiceStub
A stub that calls a remote AnalysisEngine service.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `ResourceMetaData`
  `callGetMetaData()`
  Performs service call to retrieve resource meta data.
  `default void`
  `destroy()`
  Called when this stub is no longer needed, so any open connections can be closed.

- ## Method Details

  - ### callGetMetaData

    ResourceMetaData callGetMetaData() throws ResourceServiceException
    Performs service call to retrieve resource meta data.
    Returns:
      metadata for the Resource
    Throws:
      `ResourceServiceException` - passthru

  - ### destroy

    default void destroy()
    Called when this stub is no longer needed, so any open connections can be closed.