org.mmbase.applications.mmbob
Class ExternalProfilesManager

java.lang.Object
  extended by org.mmbase.applications.mmbob.ExternalProfilesManager
All Implemented Interfaces:
Runnable

public class ExternalProfilesManager
extends Object
implements Runnable

Author:
Daniel Ockeloen

Field Summary
(package private) static HashMap handlers
           
(package private)  Thread kicker
           
(package private)  int sleeptime
           
 
Constructor Summary
ExternalProfilesManager(int sleeptime)
           
 
Method Summary
static void addToCheckQueue(ProfileInfo pi)
           
static void addToSyncQueue(ProfileInfo pi)
           
 void doWork()
          Main work loop
static ExternalProfileInterface getHandler(String name)
           
 void init()
          init()
static void loadExternalHandlers(Forum f)
           
 void run()
          Main loop, exception protected
 void start()
          Starts the main Thread.
 void stop()
          Stops the main Thread.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

handlers

static HashMap handlers

kicker

Thread kicker

sleeptime

int sleeptime
Constructor Detail

ExternalProfilesManager

public ExternalProfilesManager(int sleeptime)
Method Detail

init

public void init()
init()


start

public void start()
Starts the main Thread.


stop

public void stop()
Stops the main Thread.


run

public void run()
Main loop, exception protected

Specified by:
run in interface Runnable

doWork

public void doWork()
Main work loop


addToSyncQueue

public static void addToSyncQueue(ProfileInfo pi)

addToCheckQueue

public static void addToCheckQueue(ProfileInfo pi)

getHandler

public static ExternalProfileInterface getHandler(String name)

loadExternalHandlers

public static void loadExternalHandlers(Forum f)


MMBase 2.0-SNAPSHOT - null