org.springframework.samples.petclinic.web
Class ClinicBindingInitializer

java.lang.Object
  extended by org.springframework.samples.petclinic.web.ClinicBindingInitializer
All Implemented Interfaces:
org.springframework.web.bind.support.WebBindingInitializer

public class ClinicBindingInitializer
extends java.lang.Object
implements org.springframework.web.bind.support.WebBindingInitializer

Shared WebBindingInitializer for PetClinic's custom editors.

Alternatively, such init-binder code may be put into InitBinder annotated methods on the controller classes themselves.

Author:
Juergen Hoeller

Constructor Summary
ClinicBindingInitializer()
           
 
Method Summary
 void initBinder(org.springframework.web.bind.WebDataBinder binder, org.springframework.web.context.request.WebRequest request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClinicBindingInitializer

public ClinicBindingInitializer()
Method Detail

initBinder

public void initBinder(org.springframework.web.bind.WebDataBinder binder,
                       org.springframework.web.context.request.WebRequest request)
Specified by:
initBinder in interface org.springframework.web.bind.support.WebBindingInitializer


Copyright © 2010. All Rights Reserved.