class MetaDataParsers extends Object
Constructor and Description |
---|
MetaDataParsers() |
Modifier and Type | Method and Description |
---|---|
static int[] |
getEventTypes(MetaDataTag tag,
OpenJPAConfiguration conf)
Return the event type constants for the given tag, or null if none.
|
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.
|
public static int[] getEventTypes(MetaDataTag tag, OpenJPAConfiguration conf)
public static void validateMethodsForSameCallback(Class cls, Collection<LifecycleCallbacks> callbacks, Method method, MetaDataTag tag, OpenJPAConfiguration conf, Log log)
Copyright © 2006–2013 Apache Software Foundation. All rights reserved.