ome.services.pixeldata
Class PixelDataThread

java.lang.Object
  extended by ome.services.util.ExecutionThread
      extended by ome.services.pixeldata.PixelDataThread
All Implemented Interfaces:
Runnable, EventListener, org.springframework.context.ApplicationListener<MissingPyramidMessage>

public class PixelDataThread
extends ExecutionThread
implements org.springframework.context.ApplicationListener<MissingPyramidMessage>

Since:
Beta4.3
Author:
Josh Moore, josh at glencoesoftware.com

Field Summary
 
Fields inherited from class ome.services.util.ExecutionThread
executor, manager, principal, work
 
Constructor Summary
PixelDataThread(SessionManager manager, Executor executor, PixelDataHandler handler, Principal principal, String uuid)
          Main constructor.
PixelDataThread(SessionManager manager, Executor executor, PixelDataHandler handler, String uuid)
          Uses default Principal for processing
 
Method Summary
 void doRun()
           
 void onApplicationEvent(MissingPyramidMessage mpm)
           
 void start()
          Called by Spring on creation.
 void stop()
          Called by Spring on destruction.
 
Methods inherited from class ome.services.util.ExecutionThread
getPrincipal, run, sessionInit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PixelDataThread

public PixelDataThread(SessionManager manager,
                       Executor executor,
                       PixelDataHandler handler,
                       String uuid)
Uses default Principal for processing


PixelDataThread

public PixelDataThread(SessionManager manager,
                       Executor executor,
                       PixelDataHandler handler,
                       Principal principal,
                       String uuid)
Main constructor. No arguments can be null.

Method Detail

start

public void start()
Called by Spring on creation. Currently a no-op.


doRun

public void doRun()
Specified by:
doRun in class ExecutionThread

stop

public void stop()
Called by Spring on destruction.


onApplicationEvent

public void onApplicationEvent(MissingPyramidMessage mpm)
Specified by:
onApplicationEvent in interface org.springframework.context.ApplicationListener<MissingPyramidMessage>


OmeroJava Api

Version: 4.3.3-00d1137e-b2894

Copyright © 2009 The University of Dundee. All Rights Reserved.