org.apache.commons.jci.stores
Class TransactionalResourceStore

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

public class TransactionalResourceStore
extends Object
implements ResourceStore, Transactional

A TransactionalResourceStore get signals of the compilation process as a whole. When it started and when the compiler finished.

Author:
tcurdt

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

Constructor Detail

TransactionalResourceStore

public TransactionalResourceStore(ResourceStore pStore)
Method Detail

onStart

public void onStart()
Specified by:
onStart in interface Transactional

onStop

public void onStop()
Specified by:
onStop in interface Transactional

read

public byte[] read(String pResourceName)
Specified by:
read in interface ResourceStore

remove

public void remove(String pResourceName)
Specified by:
remove in interface ResourceStore

write

public void write(String pResourceName,
                  byte[] pResourceData)
Specified by:
write in interface ResourceStore

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2004–2013 The Apache Software Foundation. All rights reserved.