com.partnersoft.job.io
Class SQLJobStore

java.lang.Object
  extended by com.partnersoft.job.io.SQLJobStore

public class SQLJobStore
extends java.lang.Object

A job storage framework based on SQL.

Author:
Paul Reavis Copyright 2005 Partner Software, Inc.

Constructor Summary
SQLJobStore(DatabaseConnection database)
           
 
Method Summary
 void createTables()
           
 Job retrieveJob(java.lang.String guid)
           
 void storeJob(Job job)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SQLJobStore

public SQLJobStore(DatabaseConnection database)
Method Detail

createTables

public void createTables()
                  throws java.sql.SQLException,
                         java.io.IOException
Throws:
java.sql.SQLException
java.io.IOException

retrieveJob

public Job retrieveJob(java.lang.String guid)
                throws java.io.IOException
Throws:
java.io.IOException

storeJob

public void storeJob(Job job)
              throws java.io.IOException
Throws:
java.io.IOException