Salvager's Resource refernce manual

All Resources All filters

# SalvagerResource

This resource is used to check the consistency of the entire resource space. It also tries to fix problems encountered. It works by walking through the entire resource space (by running within a very low priority thread). During this walk, the salvager can encounter several problems:

- Cycles within the resource space; these are usually due to old (or unknown) implementation bugs
- Unloadable resources, either because their class no longer exists, or because the server's class path is not set properly

The salvager should be run until both categories of problems are totally solved; once all the above problems are fixed, you should run the Salvager once again to perform a verification of the resource space. This time, each resource is checked to see if it is still consistent for it to exist, and deleted if needed. This allows, for example, to make sure that files that have been indexed but which no longer exists are removed from the resource space.

Under any circumstances, it is highly recommended that you backup your configuration (by archiving Jigsaw configuration directory) before you run the salvager.

## Inherits

The SalvagerResource class inherits from the following classes:

- FilteredResource

## Attributes description

The SalvagerResource defines the following attributes:

- logname

`parent`

semantics
  The name of the file to use as the log for reporting the salvager's result. It is recommended that you use a name that will trigger the file to be exported (eg by using a `.txt extension).`
type
  This attribute is an editable FilenameAttribute
default value
  This attribute has no default value; when unset log infos will be sent to the Java VM standard output.

Jigsaw Team
$Id: w3c.jigsaw.contrib.SalvagerResource.html,v 1.1 1997/01/28 08:09:30 abaird Exp $