public class StandaloneAnnotatedClassLocator extends Object implements AnnotatedClassLocator
AnnotatedClassLocator that utilizes the JarAnnotatedClassLocator and| Modifier and Type | Method and Description |
|---|---|
static StandaloneAnnotatedClassLocator |
getInstance()
Returns the singleton
StandaloneAnnotatedClassLocator. |
Set<Class<?>> |
locateClasses(javax.persistence.spi.PersistenceUnitInfo puInfo,
URL url)
Locates the classes available at the location given with the url.
|
public static StandaloneAnnotatedClassLocator getInstance()
StandaloneAnnotatedClassLocator.StandaloneAnnotatedClassLocatorpublic Set<Class<?>> locateClasses(javax.persistence.spi.PersistenceUnitInfo puInfo, URL url)
locateClasses in interface AnnotatedClassLocatorpuInfo - the application server generated persistence unit infourl - the url to use to locate the classesCopyright © 2012-2013 Batoo. All Rights Reserved.