Interface SyncAgentFactory


  • public interface SyncAgentFactory
    Provides the SyncAgent for a given type.
    • Method Detail

      • getSyncAgent

        SyncAgent getSyncAgent​(String type)
        Provides SyncAgent instance for a particular type
        Parameters:
        type - Type of the sync agent.
        Returns:
        sync agent instance
        Throws:
        IllegalArgumentException - if type is null or is not recognized.
      • getSyncAgent

        SyncAgent getSyncAgent​(String type,
                               String nameHint)
        Provides SyncAgent instance for a particular type, the name of the agent is formed using the nameHint
        Parameters:
        type - Type of the sync agent.
        nameHint - hint for agent name
        Returns:
        sync agent instance
        Throws:
        IllegalArgumentException - if type is null or is not recognized.