@groovy.transform.CompileStatic @groovy.util.logging.Commons class BindEventListenerAdapter extends DataBindingListenerAdapter
An adapter which supports notifying BindEventListener instances of binding events generated by the Grails 2.3 data binder. Note that the BindEventListener interface defines a doBind method which accepts some parameters which make sense in the Spring data binder but do not make sense in the Grails 2.3 data binder. This adapter invokes the doBind method and passes null for the MutablePropertyValues and TypeConverter arguments. The only real value passed to the doBind method is the object being bound to, which is often all that is needed. For more flexible binding event notification applications should convert their BindEventListener listeners to DataBindingListener listeners.
Type | Name and description |
---|---|
java.util.List<BindEventListener> |
listeners |
Type | Name and description |
---|---|
void |
afterPropertiesSet() |
java.lang.Boolean |
beforeBinding(java.lang.Object obj, java.lang.Object errors) |
Methods inherited from class | Name |
---|---|
class DataBindingListenerAdapter |
afterBinding, afterBinding, beforeBinding, beforeBinding, bindingError, supports |
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |