org.codehaus.groovy.grails.orm.hibernate.metaclass
Class RefreshPersistentMethod
java.lang.Object
org.codehaus.groovy.grails.commons.metaclass.AbstractDynamicMethodInvocation
org.codehaus.groovy.grails.orm.hibernate.metaclass.AbstractDynamicPersistentMethod
org.codehaus.groovy.grails.orm.hibernate.metaclass.RefreshPersistentMethod
- All Implemented Interfaces:
- DynamicMethodInvocation
public class RefreshPersistentMethod
- extends AbstractDynamicPersistentMethod
The "refresh" persistent instance method. This method refreshes the current
instances state.
eg.
instance.refresh();
- Author:
- Graeme Rocher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
METHOD_PATTERN
public static final Pattern METHOD_PATTERN
RefreshPersistentMethod
public RefreshPersistentMethod(org.hibernate.SessionFactory sessionFactory,
ClassLoader classLoader)
doInvokeInternal
protected Object doInvokeInternal(Object target,
Object[] arguments)
- Specified by:
doInvokeInternal
in class AbstractDynamicPersistentMethod
Copyright (c) 2005-2006 The Grails project