org.codehaus.groovy.grails.orm.hibernate.metaclass
Class DiscardPersistentMethod
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.DiscardPersistentMethod
- All Implemented Interfaces:
- DynamicMethodInvocation
public class DiscardPersistentMethod
- extends AbstractDynamicPersistentMethod
A method that allows you to discard changes to a domain class
- Since:
- 0.2
- Author:
- Graeme Rocher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
METHOD_SIGNATURE
public static final String METHOD_SIGNATURE
- See Also:
- Constant Field Values
METHOD_PATTERN
public static final Pattern METHOD_PATTERN
DiscardPersistentMethod
public DiscardPersistentMethod(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