The FaultManager service allows bundles to indicate faults, which are then collected and management by a FaultManager implementation. The FaultManager service is available under the com.prosyst.mbs.framework.fm.FaultManager interface.
The service is registered only in case a FaultManager implementation class is specified with the mbs.fm.class system property. As a value to the mbs.fm.class property you can set the class of the default FaultManager – com.prosyst.mbs.impl.framework.module.fm.FaultManagerImpl. This FaultManager saves fault records in a file specified by the mbs.faultmanager.file system property. This file can contain up to mbs.faultmanager.records and can keep the time each fault occurred if mbs.faultmanager.nodate is false (default).
The OSGi framework offers another FaultManager, which is based on managing faults by contacting the mBSA tool of the SDK Runtime. In detail, this FaultManager sends requests to mBSA for executing the fault action specified (log, restart the OSGi framework, restart the operating system). To use the mBSA FaultManager, set the mbs.fm.class system property to com.prosyst.mbs.impl.framework.module.fm.MBSAFaultManagerImpl.
Bundles can conveniently signal faults (refer to the Indicating faults section in the Logging document) to the FaultManager through the Log Reference utility.
Registering bundle
This service is registered by System bundle.