org.acegisecurity.domain.validation
Interface ValidationRegistryManager

All Known Implementing Classes:
ValidationRegistryManagerImpl

public interface ValidationRegistryManager

ValidationRegistryManager implementations are able to authoritatively return a Validator instance that is suitable for a given domain object.

Implementations are free to implement their own strategy for maintaining the list of Validators, or create them on-demand if preferred. This interface is non-prescriptive.

Version:
$Id: ValidationRegistryManager.java,v 1.2 2005/11/17 00:55:50 benalex Exp $
Author:
Matthew E. Porter, Ben Alex

Method Summary
 Validator findValidator(Class domainClass)
          Obtains the Validator that applies for a given domain object class.
 

Method Detail

findValidator

Validator findValidator(Class domainClass)
Obtains the Validator that applies for a given domain object class.

Parameters:
domainClass - that a Validator is required for
Returns:
the Validator, or null if no Validator is known for the indicated domainClass


Copyright © 2004-2005 Acegi Technology Pty Limited. All Rights Reserved.