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​(URI discoveryURI)
                                            throws 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:
        Exception - if an error occurs while creating the DiscoveryAgent instance.