org.codehaus.groovy.grails.orm.hibernate.metaclass
Class AbstractDynamicPersistentMethod
java.lang.Object
org.codehaus.groovy.grails.commons.metaclass.AbstractDynamicMethodInvocation
org.codehaus.groovy.grails.orm.hibernate.metaclass.AbstractDynamicPersistentMethod
- All Implemented Interfaces:
- DynamicMethodInvocation
- Direct Known Subclasses:
- AbstractSavePersistentMethod, DeletePersistentMethod, DiscardPersistentMethod, RefreshPersistentMethod, ValidatePersistentMethod
public abstract class AbstractDynamicPersistentMethod
- extends AbstractDynamicMethodInvocation
- Since:
- Aug 7, 2005
- Author:
- Steven Devijver
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractDynamicPersistentMethod
public AbstractDynamicPersistentMethod(Pattern pattern,
org.hibernate.SessionFactory sessionFactory,
ClassLoader classLoader)
getHibernateTemplate
protected HibernateTemplate getHibernateTemplate()
invoke
public Object invoke(Object target,
String methodName,
Object[] arguments)
- Description copied from interface:
DynamicMethodInvocation
Invokes the actual method. The target object and arguments are supplied.
- Specified by:
invoke
in interface DynamicMethodInvocation
- Specified by:
invoke
in class AbstractDynamicMethodInvocation
- Parameters:
target
- the target on which the method is invoked.arguments
- the arguments passed in the method call @return the return value of the dynamic method invocation.
doInvokeInternal
protected abstract Object doInvokeInternal(Object target,
Object[] arguments)
Copyright (c) 2005-2006 The Grails project