Interface ProfileServiceInternal

All Known Implementing Classes:
ProfileServiceCached, ProfileServiceInternalImpl

public interface ProfileServiceInternal
Author:
Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    registerSpi(String protocol, ProfileServiceSpi provider)
    Registers a ProfileServiceSpi for a named protocol.
    void
    Unregisters a ProfileServiceSpi for a named protocol.
  • Method Details

    • registerSpi

      void registerSpi(String protocol, ProfileServiceSpi provider)
      Registers a ProfileServiceSpi for a named protocol. The provider will be used by DocumentSet instances returned by the service and for subscriptions.
      Parameters:
      protocol - The protocol for which the provider is being registered. An example is "sh"
      provider - The provider to handle this protocol
    • unregisterSpi

      void unregisterSpi(String protocol)
      Unregisters a ProfileServiceSpi for a named protocol. The provider will be used by DocumentSet instances returned by the service and for subscriptions.
      Parameters:
      protocol - The protocol for which the provider is being unregistered. An example is "sh"