org.apache.uima.resource

## Interface ResourceServiceStub

- All Known Subinterfaces:
    AnalysisEngineServiceStub

      public interface ResourceServiceStub

  A stub that calls a remote AnalysisEngine service.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and 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 Detail

    - #### 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.

Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.