Class FileWatcherDiscoveryAgentFactory


  • public class FileWatcherDiscoveryAgentFactory
    extends DiscoveryAgentFactory
    Creates and configures a new instance of the file watcher based agent.
    • Constructor Detail

      • FileWatcherDiscoveryAgentFactory

        public FileWatcherDiscoveryAgentFactory()
    • Method Detail

      • createDiscoveryAgent

        public DiscoveryAgent createDiscoveryAgent​(java.net.URI discoveryURI)
                                            throws java.lang.Exception
        Description copied from class: DiscoveryAgentFactory
        Creates an instance of the given DiscoveryAgent and configures it using the properties set on the given remote broker URI.
        Specified by:
        createDiscoveryAgent in class DiscoveryAgentFactory
        Parameters:
        discoveryURI - The URI used to configure remote discovery.
        Returns:
        a new DiscoveryAgent instance.
        Throws:
        java.lang.Exception - if an error occurs while creating the DiscoveryAgent instance.
      • getName

        public java.lang.String getName()
        Specified by:
        getName in class DiscoveryAgentFactory
        Returns:
        the name of this discovery agent, e.g. Multicast, Zeroconf, etc.