public class WebClientRegisterExtensionsProcessor extends RegisterExtensionsProcessor
Modifier and Type | Field and Description |
---|---|
private PathConverter |
pathConverter |
private java.lang.String |
resourcesPath |
private java.lang.String |
servletsPath |
private VariableConverter |
variableConverter |
Constructor and Description |
---|
WebClientRegisterExtensionsProcessor(java.lang.String rootPath,
java.lang.String resourcesPath,
java.lang.String servletsPath,
ProcessResults results) |
Modifier and Type | Method and Description |
---|---|
void |
processFile(ExtensionsManager manager,
ExtensionsFile.WriteableExtensionsFile wFile)
Called by the extensions manager for each extensions file that it
manages.
|
begin, done, done, finalizeRegistration, getNumError, getNumFiles, getNumRegistered, getNumUnregistered, getProcessResults, getXmlLoader, isRegistrationDelayed, setDelayRegistration, setForceUpdate
private final VariableConverter variableConverter
private final PathConverter pathConverter
private final java.lang.String resourcesPath
private final java.lang.String servletsPath
public WebClientRegisterExtensionsProcessor(java.lang.String rootPath, java.lang.String resourcesPath, java.lang.String servletsPath, ProcessResults results)
public void processFile(ExtensionsManager manager, ExtensionsFile.WriteableExtensionsFile wFile)
ExtensionsFileProcessor
If the processor throws an exception the manager will abort
processing and call ExtensionsFileProcessor.done(ExtensionsManager, Throwable)
.
Error that are related to a specific file should be catched
by the processor and registered by calling .......
If all files was processed without exceptions the manager
will call ExtensionsFileProcessor.done(ExtensionsManager)
.
Note that the file is read-only to begin with. If the processor
wants to call any write-operation the file must be opened by
calling ExtensionsFile.WriteableExtensionsFile.open()
. It is recommended
that the processor calls ExtensionsFile.WriteableExtensionsFile.close()
once it is done writing.
processFile
in interface ExtensionsFileProcessor
processFile
in class RegisterExtensionsProcessor
manager
- The manager that is executing the actionwFile
- The file to be processed