org.mmbase.applications.mmbob
Class ForumMMBaseSyncerShutdown

java.lang.Object
  extended byjava.lang.Thread
      extended byorg.mmbase.applications.mmbob.ForumMMBaseSyncerShutdown
All Implemented Interfaces:
Runnable

public class ForumMMBaseSyncerShutdown
extends Thread

This hook will be used by the jvm and tries to sync all MMBob nodes before shutting down

Version:
$Id: ForumMMBaseSyncerShutdown.java,v 1.1 2005/02/22 15:34:14 gerard Exp $
Author:
Gerard van Enk

Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ForumMMBaseSyncerShutdown(ForumMMBaseSyncer managedClass)
          instantiaties the shutdown hook with the Syncer.
 
Method Summary
 void run()
          runs when jvm goes down and tries to sync the MMBob nodes
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ForumMMBaseSyncerShutdown

public ForumMMBaseSyncerShutdown(ForumMMBaseSyncer managedClass)
instantiaties the shutdown hook with the Syncer.

Parameters:
managedClass - The ForumMMBaseSyncer to be used for syncing when the jvm goes down
Method Detail

run

public void run()
runs when jvm goes down and tries to sync the MMBob nodes



MMBase build 1.8.1.20060716