org.codehaus.wadi.core.store
Class DiscStore

java.lang.Object
  extended by org.codehaus.wadi.core.store.DiscStore
All Implemented Interfaces:
Store

public class DiscStore
extends java.lang.Object
implements Store

Version:
$Revision: 2441 $
Author:
Jules Gosnell

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.codehaus.wadi.core.store.Store
Store.Putter
 
Field Summary
static java.lang.String SESSION_STORE_DIR_NAME
           
protected  java.io.File sessionStoreDir
           
protected  Streamer streamer
           
 
Constructor Summary
DiscStore(Streamer streamer, java.io.File dir, boolean accessOnLoad)
           
 
Method Summary
 void clean()
           
 Motable create()
           
 void delete(Motable motable)
           
 void insert(Motable motable)
           
 void load(Store.Putter putter)
           
 byte[] loadBody(Motable motable)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SESSION_STORE_DIR_NAME

public static final java.lang.String SESSION_STORE_DIR_NAME
See Also:
Constant Field Values

streamer

protected final Streamer streamer

sessionStoreDir

protected final java.io.File sessionStoreDir
Constructor Detail

DiscStore

public DiscStore(Streamer streamer,
                 java.io.File dir,
                 boolean accessOnLoad)
          throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

clean

public void clean()
Specified by:
clean in interface Store

load

public void load(Store.Putter putter)
Specified by:
load in interface Store

create

public Motable create()
Specified by:
create in interface Store

delete

public void delete(Motable motable)
Specified by:
delete in interface Store

insert

public void insert(Motable motable)
            throws java.lang.Exception
Specified by:
insert in interface Store
Throws:
java.lang.Exception

loadBody

public byte[] loadBody(Motable motable)
                throws java.lang.Exception
Specified by:
loadBody in interface Store
Throws:
java.lang.Exception


Copyright © 2011. All Rights Reserved.