Interface ServiceExporter


public interface ServiceExporter
Safe service export capability exposed to managed applications.

The exporter delegates to the owning MiddlewareRuntime; it does not expose registry or transport internals.

  • Method Summary

    Modifier and Type
    Method
    Description
    export(String serviceName, T instance, Class<T> api, ExportOptions options)
    Exports a service through the runtime.
  • Method Details

    • export

      <T> ObjectRegistration<T> export(String serviceName, T instance, Class<T> api, ExportOptions options)
      Exports a service through the runtime.
      Type Parameters:
      T - service interface type
      Parameters:
      serviceName - logical service name
      instance - service implementation
      api - public service interface
      options - export options
      Returns:
      registration handle