Package de.willuhn.jameica.services
Class LockService
- java.lang.Object
-
- de.willuhn.jameica.services.LockService
-
- All Implemented Interfaces:
de.willuhn.boot.Bootable
public class LockService extends java.lang.Object implements de.willuhn.boot.Bootable
Erzeugt die Lock-Datei.
-
-
Constructor Summary
Constructors Constructor Description LockService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class[]
depends()
boolean
foundUncleanShutdown()
Liefert true, wenn der vorherige Shutdown nicht sauber durch lief.void
init(de.willuhn.boot.BootLoader loader, de.willuhn.boot.Bootable caller)
void
shutdown()
-
-
-
Method Detail
-
depends
public java.lang.Class[] depends()
- Specified by:
depends
in interfacede.willuhn.boot.Bootable
- See Also:
Bootable.depends()
-
init
public void init(de.willuhn.boot.BootLoader loader, de.willuhn.boot.Bootable caller) throws de.willuhn.boot.SkipServiceException
- Specified by:
init
in interfacede.willuhn.boot.Bootable
- Throws:
de.willuhn.boot.SkipServiceException
- See Also:
Bootable.init(de.willuhn.boot.BootLoader, de.willuhn.boot.Bootable)
-
shutdown
public void shutdown()
- Specified by:
shutdown
in interfacede.willuhn.boot.Bootable
- See Also:
Bootable.shutdown()
-
foundUncleanShutdown
public boolean foundUncleanShutdown()
Liefert true, wenn der vorherige Shutdown nicht sauber durch lief.- Returns:
- true, wenn der vorherige Shutdown nicht sauber durch lief.
-
-