org.openejb.alt.config
Class ValidationTable

java.lang.Object
  extended by org.openejb.alt.config.ValidationTable

public class ValidationTable
extends java.lang.Object

Beans should be validated, but only when: - the validator version has changed since last validation - the jar has changed since last validation - the jar has never been validated This class works, but it causes problems elsewhere. It seems that using InstantDB just causes us to not be able to shutdown the VM. Obviously, InstantDB is starting user threads. This probably needs to be rewritten to not use InstantDB.

Author:
David Blevins

Method Summary
static ValidationTable getInstance()
           
 long getLastValidated(java.io.File jar)
           
 boolean isValidated(java.lang.String jarFile)
           
 void setLastValidated(java.lang.String jarFile, long timeValidated)
           
 void setValidated(java.lang.String jarFile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ValidationTable getInstance()

isValidated

public boolean isValidated(java.lang.String jarFile)

setValidated

public void setValidated(java.lang.String jarFile)

getLastValidated

public long getLastValidated(java.io.File jar)

setLastValidated

public void setLastValidated(java.lang.String jarFile,
                             long timeValidated)


Copyright © 1999-2011 OpenEJB. All Rights Reserved.