org.filteredpush.applepie.jobs
Class ApplePieAnnotationJob

java.lang.Object
  extended by org.filteredpush.triage.api.AbstractJob
      extended by org.filteredpush.applepie.jobs.ApplePieAnnotationJob
All Implemented Interfaces:
java.lang.Cloneable

public class ApplePieAnnotationJob
extends AbstractJob

ApplePieAnnotationJob is a job implementation that will treat the content of an FPMessage as an Apple Pie annotation. The message is stored in the messaging system as key value pairs extracted from the message content serialized as RDF/XML. Also stores the triples that make up the annotation in the annotation triple store.


Constructor Summary
ApplePieAnnotationJob()
           
 
Method Summary
 void execute()
           
 void setMessage(FPMessage messageContainingAnnotation)
           
 
Methods inherited from class org.filteredpush.triage.api.AbstractJob
clone, getMessage, getStatus
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplePieAnnotationJob

public ApplePieAnnotationJob()
Method Detail

setMessage

public void setMessage(FPMessage messageContainingAnnotation)
                throws UnsupportedMessageTypeException
Overrides:
setMessage in class AbstractJob
Throws:
UnsupportedMessageTypeException

execute

public void execute()
             throws JobExecutionException
Overrides:
execute in class AbstractJob
Throws:
JobExecutionException