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