org.apache.commons.javaflow.stores
Class JavaflowResourceStore

java.lang.Object
  extended by org.apache.commons.jci.stores.TransactionalResourceStore
      extended by org.apache.commons.javaflow.stores.JavaflowResourceStore
All Implemented Interfaces:
org.apache.commons.jci.stores.ResourceStore, org.apache.commons.jci.stores.Transactional

public final class JavaflowResourceStore
extends org.apache.commons.jci.stores.TransactionalResourceStore

Due to the BCEL dependency handling all classes have to be store first and then be rewritten. Otherwise we could just delegate to the TransformingResourceStore

Author:
tcurdt

Constructor Summary
JavaflowResourceStore()
           
JavaflowResourceStore(org.apache.commons.jci.stores.ResourceStore pStore)
           
 
Method Summary
 void onStart()
           
 void onStop()
           
 void write(java.lang.String pResourceName, byte[] pResourceData)
           
 
Methods inherited from class org.apache.commons.jci.stores.TransactionalResourceStore
read, remove, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JavaflowResourceStore

public JavaflowResourceStore()

JavaflowResourceStore

public JavaflowResourceStore(org.apache.commons.jci.stores.ResourceStore pStore)
Method Detail

write

public void write(java.lang.String pResourceName,
                  byte[] pResourceData)
Specified by:
write in interface org.apache.commons.jci.stores.ResourceStore
Overrides:
write in class org.apache.commons.jci.stores.TransactionalResourceStore

onStart

public void onStart()
Specified by:
onStart in interface org.apache.commons.jci.stores.Transactional
Overrides:
onStart in class org.apache.commons.jci.stores.TransactionalResourceStore

onStop

public void onStop()
Specified by:
onStop in interface org.apache.commons.jci.stores.Transactional
Overrides:
onStop in class org.apache.commons.jci.stores.TransactionalResourceStore


Copyright 2004-2008 The Apache Software Foundation. All Rights Reserved.