org.apache.openjpa.persistence
Class MetaDataParsers
java.lang.Object
org.apache.openjpa.persistence.MetaDataParsers
class MetaDataParsers
- extends Object
Common utilities for persistence metadata parsers.
- Author:
- Abe White
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetaDataParsers
MetaDataParsers()
getEventTypes
public static int[] getEventTypes(MetaDataTag tag,
OpenJPAConfiguration conf)
- Return the event type constants for the given tag, or null if none.
validateMethodsForSameCallback
public static void validateMethodsForSameCallback(Class cls,
Collection<LifecycleCallbacks> callbacks,
Method method,
MetaDataTag tag,
OpenJPAConfiguration conf,
Log log)
- Validate that the given listener class does not have multiple methods
listening for the same lifecycle event, which is forbidden by the spec.
Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.