net.firstpartners.rp.mid.global
Class ControllerThread

java.lang.Object
  extended by java.lang.Thread
      extended by net.firstpartners.rp.mid.global.ControllerThread
All Implemented Interfaces:
java.lang.Runnable

 class ControllerThread
extends java.lang.Thread

Controller class for invoking the plugins in adding the information

Version:
1.1
Author:
Firstpartners.net

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
(package private)  INewInformation m_info
          Information to add
(package private)  IInterestedInAdd m_plugin
          Add-Plugin to controll
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ControllerThread(IInterestedInAdd plugin, INewInformation info)
          Creates a new ControllerThread object.
 
Method Summary
 void run()
          Execute the process of adding the information by the specified plugin
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, 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
 

Field Detail

m_plugin

IInterestedInAdd m_plugin
Add-Plugin to controll


m_info

INewInformation m_info
Information to add

Constructor Detail

ControllerThread

public ControllerThread(IInterestedInAdd plugin,
                        INewInformation info)
Creates a new ControllerThread object.

Parameters:
plugin - IAdd-Plugin to control
info - Information to be added
Method Detail

run

public void run()
Execute the process of adding the information by the specified plugin

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread