it.openutils.spring.validation.hibernate
Class AnnotationValidator.KeybackResourceBundle

java.lang.Object
  extended by java.util.ResourceBundle
      extended by it.openutils.spring.validation.hibernate.AnnotationValidator.KeybackResourceBundle
Enclosing class:
AnnotationValidator

protected static class AnnotationValidator.KeybackResourceBundle
extends java.util.ResourceBundle

ResourceBundle implementation that always returns the same String used as a key. Needed to avoid making ClassValidator resolve message keys, so that they will still be available to Spring.

Version:
$Id: AnnotationValidator.java 269 2007-02-17 14:39:26Z fgiust $
Author:
fgiust

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.ResourceBundle
java.util.ResourceBundle.Control
 
Field Summary
 
Fields inherited from class java.util.ResourceBundle
parent
 
Constructor Summary
protected AnnotationValidator.KeybackResourceBundle()
           
 
Method Summary
 java.util.Enumeration<java.lang.String> getKeys()
          
protected  java.lang.Object handleGetObject(java.lang.String key)
          
 
Methods inherited from class java.util.ResourceBundle
clearCache, clearCache, containsKey, getBundle, getBundle, getBundle, getBundle, getBundle, getBundle, getLocale, getObject, getString, getStringArray, handleKeySet, keySet, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationValidator.KeybackResourceBundle

protected AnnotationValidator.KeybackResourceBundle()
Method Detail

getKeys

public java.util.Enumeration<java.lang.String> getKeys()

Specified by:
getKeys in class java.util.ResourceBundle

handleGetObject

protected java.lang.Object handleGetObject(java.lang.String key)

Specified by:
handleGetObject in class java.util.ResourceBundle


Copyright © 2007 Openmind. All Rights Reserved.