biz.hammurapi.rules
Class FileObjectStorage

java.lang.Object
  extended by biz.hammurapi.rules.FileObjectStorage
All Implemented Interfaces:
biz.hammurapi.config.Context, ObjectStorage

public class FileObjectStorage
extends java.lang.Object
implements ObjectStorage


Constructor Summary
FileObjectStorage()
           
 
Method Summary
 java.lang.Object get(java.lang.String name)
           
 void put(java.lang.String key, java.lang.Object value)
          Puts object to storage.
 void setFile(java.io.File file)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileObjectStorage

public FileObjectStorage()
Method Detail

put

public void put(java.lang.String key,
                java.lang.Object value)
Description copied from interface: ObjectStorage
Puts object to storage.

Specified by:
put in interface ObjectStorage
Parameters:
key - Object key.
value - Object value.

start

public void start()
           throws biz.hammurapi.config.ConfigurationException
Throws:
biz.hammurapi.config.ConfigurationException

stop

public void stop()
          throws biz.hammurapi.config.ConfigurationException
Throws:
biz.hammurapi.config.ConfigurationException

setFile

public void setFile(java.io.File file)

get

public java.lang.Object get(java.lang.String name)
Specified by:
get in interface biz.hammurapi.config.Context


Copyright © 2005 Hammurapi Group. All Rights Reserved.