Thema dieser Dokumentation / Das FirstSpirit 5 Modul- / Komponenten-Modell / Modul-Implementierung mit den Komponenten-Typen - PUBLIC, SERVICE, LIBRARY / Vollständiger Modul-Deskriptor mit Drei Komponenten-Typen

Vollständiger Modul-Deskriptor mit Drei Komponenten-Typen

Listing: Drei Komponenten-Typen Modul-Deskriptor

<!DOCTYPE module SYSTEM "../../server/module.dtd">
<module>
<name>FS VScan Service</name>
<version>@VERSION@</version>
<description>Plugable Virus Scanning Service</description>
<vendor>e-Spirit GmbH</vendor>
<components>
<service>
<name>VScanService</name>
<description>FirstSpirit Virus Scan Service</description>
<class>de.espirit.firstspirit.opt.vscan.VScanServiceImpl</class>
<configurable>
de.espirit.firstspirit.opt.vscan.admin.gui.VScanServiceConfigPanel
</configurable>
<resources>
<resource name="libvscan">lib/fs-vscan.jar</resource>
<resource>fs-vscan.conf</resource>
</resources>
</service>
<public>
<name>VScanFilterProxy</name>
<description>
The main engine which calls the specialized engine implementations.
</description>
<class>de.espirit.firstspirit.opt.vscan.VScanFilterProxy</class>
<hidden>true</hidden>
<dependencies>
<depends>VScanService</depends>
</dependencies>
</public>
<!-- Scanning Engines Listing -->
<public>
<name>ClamAvEngine</name>
<description>
ClamAv core class implementing the AvEngine interface
</description>
<class>
de.espirit.firstspirit.opt.vscan.engines.clamav.ClamScanEngine
</class>
<dependencies>
<depends>libclamav</depends>
<depends>VScanCallerEngine</depends>
</dependencies>
</public>
<library>
<name>libclamav</name>
<description>
FS VScan Library containing the ClamAv virus scanning engine
</description>
<hidden>true</hidden>
<resources>
<resource name="libclamav">lib/engines/fs-clamav.jar</resource>
</resources>
<dependencies>
<depends>ClamAvEngine</depends>
</dependencies>
</library>
</components>
</module>

© 2005 - 2024 Crownpeak Technology GmbH | Alle Rechte vorbehalten. | FirstSpirit 2024.13 | Datenschutz