org.apache.bval.guice
Class GuiceAwareConstraintValidatorFactory

java.lang.Object
  extended by 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 $

Constructor Summary
GuiceAwareConstraintValidatorFactory(com.google.inject.Injector injector)
           
 
Method Summary
<T extends ConstraintValidator<?,?>>
T
getInstance(Class<T> key)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GuiceAwareConstraintValidatorFactory

@Inject
public GuiceAwareConstraintValidatorFactory(com.google.inject.Injector injector)
Method Detail

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.