Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

recoin.group
Class ComponentWorker  view ComponentWorker download ComponentWorker.java

java.lang.Object
  extended byrecoin.group.ComponentWorker

public abstract class ComponentWorker
extends java.lang.Object

The ComponentWorker is the abstract super class for all classes that need to be loaded into a component.

Any classes that implement customized behavior as part of the retrieval process need to extend this class. All that is expected of this class is that it creates and returns a ComponentRunnable.

Version:
0.2.9

Field Summary
protected  Component component
          The Component in which this ComponentWorker is loaded.
 
Constructor Summary
ComponentWorker()
           
 
Method Summary
abstract  ComponentRunnable createComponentRunnable(recoin.container.RetrievalContainer container)
          Creates and returns a new ComponentRunnable using the specified RetrievalContainer.
abstract  ComponentRunnable createComponentRunnable(recoin.container.RetrievalContainer container, java.util.Vector supports)
          Creates and returns a new ComponentRunnable using the specified RetrievalContainer and ComponentSupport objects.
abstract  ComponentRunnable createComponentRunnable(recoin.container.RetrievalContainer container, java.util.Vector supports, ComponentRunnable runnable)
          Creates and returns a new ComponentRunnable using the specified RetrievalContainer, ComponentSupport objects and ComponentRunnable.
 void initiate(Component c)
          Initiates this ComponentWorker by setting the specified Component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

component

protected Component component
The Component in which this ComponentWorker is loaded.

Constructor Detail

ComponentWorker

public ComponentWorker()
Method Detail

initiate

public void initiate(Component c)
              throws recoin.exception.InitiationException
Initiates this ComponentWorker by setting the specified Component.


createComponentRunnable

public abstract ComponentRunnable createComponentRunnable(recoin.container.RetrievalContainer container)
Creates and returns a new ComponentRunnable using the specified RetrievalContainer.


createComponentRunnable

public abstract ComponentRunnable createComponentRunnable(recoin.container.RetrievalContainer container,
                                                          java.util.Vector supports)
Creates and returns a new ComponentRunnable using the specified RetrievalContainer and ComponentSupport objects.


createComponentRunnable

public abstract ComponentRunnable createComponentRunnable(recoin.container.RetrievalContainer container,
                                                          java.util.Vector supports,
                                                          ComponentRunnable runnable)
Creates and returns a new ComponentRunnable using the specified RetrievalContainer, ComponentSupport objects and ComponentRunnable.