org.acegisecurity.domain.validation
Class BindBeforeValidationUtils

java.lang.Object
  extended by org.acegisecurity.domain.validation.BindBeforeValidationUtils

public class BindBeforeValidationUtils
extends Object

Convenience class that invokes the BindBeforeValidation interface if the passed domain object has requested it.

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

Constructor Summary
BindBeforeValidationUtils()
           
 
Method Summary
static void bindIfRequired(Object domainObject)
          Call BindBeforeValidation.bindSupport() if the domain object requests it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BindBeforeValidationUtils

public BindBeforeValidationUtils()
Method Detail

bindIfRequired

public static void bindIfRequired(Object domainObject)
                           throws BindException
Call BindBeforeValidation.bindSupport() if the domain object requests it.

Parameters:
domainObject - to attempt to bind (never null)
Throws:
BindException - if the binding failed


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