org.apache.bval.guice
Class GuiceAwareConstraintValidatorFactory
java.lang.Object
org.apache.bval.guice.GuiceAwareConstraintValidatorFactory
- All Implemented Interfaces:
- ConstraintValidatorFactory
@Singleton
final class GuiceAwareConstraintValidatorFactory
- extends Object
- implements ConstraintValidatorFactory
javax.validation.ConstraintValidatorFactory
implementation that
relies on Google Guice.
- Version:
- $Id: GuiceAwareConstraintValidatorFactory.java 1073946 2011-02-23 21:01:07Z simonetripodi $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GuiceAwareConstraintValidatorFactory
GuiceAwareConstraintValidatorFactory()
setInjector
public void setInjector(com.google.inject.Injector injector)
getInstance
public <T extends ConstraintValidator<?,?>> T getInstance(Class<T> key)
-
- Specified by:
getInstance
in interface ConstraintValidatorFactory
Copyright © 2010-2012 Apache Software Foundation. All Rights Reserved.