org.codehaus.groovy.grails.orm.hibernate.validation
Class PersistentConstraintFactory

java.lang.Object
  extended by org.codehaus.groovy.grails.orm.hibernate.validation.PersistentConstraintFactory
All Implemented Interfaces:
org.codehaus.groovy.grails.validation.ConstraintFactory

public class PersistentConstraintFactory
extends java.lang.Object
implements org.codehaus.groovy.grails.validation.ConstraintFactory

Creates PersistentConstraint instances ensuring that dependencies are provided.

Since:
0.4

Constructor Summary
PersistentConstraintFactory(org.springframework.context.ApplicationContext applicationContext, java.lang.Class<?> persistentConstraint)
           
 
Method Summary
 org.codehaus.groovy.grails.validation.Constraint newInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersistentConstraintFactory

public PersistentConstraintFactory(org.springframework.context.ApplicationContext applicationContext,
                                   java.lang.Class<?> persistentConstraint)
Method Detail

newInstance

public org.codehaus.groovy.grails.validation.Constraint newInstance()
Specified by:
newInstance in interface org.codehaus.groovy.grails.validation.ConstraintFactory