org.codehaus.groovy.grails.web.metaclass
Class DataBindingDynamicConstructor
java.lang.Object
org.codehaus.groovy.grails.web.metaclass.DataBindingDynamicConstructor
- All Implemented Interfaces:
- DynamicConstructor
public class DataBindingDynamicConstructor
- extends Object
- implements DynamicConstructor
A dynamic property that uses a Map of OGNL expressions to sets properties on the target object
- Since:
- 0.3
Created 23/07/06
- Author:
- Graeme Rocher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataBindingDynamicConstructor
public DataBindingDynamicConstructor()
DataBindingDynamicConstructor
public DataBindingDynamicConstructor(ApplicationContext ctx)
isArgumentsMatch
public boolean isArgumentsMatch(Object[] args)
- Description copied from interface:
DynamicConstructor
- Test whether the specified arguments match this constructor
- Specified by:
isArgumentsMatch
in interface DynamicConstructor
- Parameters:
args
- The arguments to check
- Returns:
- True if the arguments match
invoke
public Object invoke(Class clazz,
Object[] args)
- Description copied from interface:
DynamicConstructor
- Invokes the dynamic constructor
- Specified by:
invoke
in interface DynamicConstructor
- Parameters:
clazz
- The actual classargs
- The arguments
- Returns:
- The returned instance
Copyright (c) 2005-2006 The Grails project