Class WorkSpace.WorkSpaceDirectoryWatcher

    • Constructor Detail

      • WorkSpaceDirectoryWatcher

        public WorkSpaceDirectoryWatcher​(String pattern)
        Watch the directory for registrations that match pattern
        Parameters:
        pattern - the pattern to match
    • Method Detail

      • placeRegistered

        public void placeRegistered​(String observableKey,
                                    String placeKey)
        Accept registration notices that match our pattern
        Specified by:
        placeRegistered in interface PlaceObserver
        Overrides:
        placeRegistered in class DirectoryAdapter
        Parameters:
        observableKey - the reporting directory
        placeKey - the key of the matching registered place