Class BackgroundProcessLogger
- java.lang.Object
-
- org.silverpeas.core.backgroundprocess.BackgroundProcessLogger
-
- All Implemented Interfaces:
Initialization
@Service public class BackgroundProcessLogger extends Object implements Initialization
- Author:
- silveryocha
-
-
Constructor Summary
Constructors Constructor Description BackgroundProcessLogger()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SilverLogger
get()
int
getPriority()
Gets the priority level of the execution ofInitialization.init()
method.void
init()
Initializes some resources required by the services or performs some initialization processes at Silverpeas startup.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.silverpeas.core.initialization.Initialization
release
-
-
-
-
Method Detail
-
get
public static SilverLogger get()
-
getPriority
public int getPriority()
Description copied from interface:Initialization
Gets the priority level of the execution ofInitialization.init()
method.The less is the value of the priority the more the priority is high.
- Specified by:
getPriority
in interfaceInitialization
- Returns:
- an integer priority.
-
init
public void init() throws Exception
Description copied from interface:Initialization
Initializes some resources required by the services or performs some initialization processes at Silverpeas startup.- Specified by:
init
in interfaceInitialization
- Throws:
Exception
- if an error occurs during the initialization process. In this case the Silverpeas startup fails.
-
-