This is provided so the calling process can arrange for processing
        to be stopped and a LegionReset exception raised when any part of
        the program's own module tree changes.

def set_own_module(self, path):
        """
        This is provided so the calling process can arrange for processing
        to be stopped and a LegionReset exception raised when any part of
        the program's own module tree changes.
    """
        log = self._params.get('log', self._discard)
        self._name = path
        self.module_add(event_target(self, 'legion_reset', key=path, log=log), path)