@Deprecated public class Classpath extends Object
| Constructor and Description |
|---|
Classpath()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static org.reflections.util.ConfigurationBuilder |
getReflectionsConfiguration(String packageName,
ClassLoader classLoader)
Deprecated.
Deprecated as of 2.6.0
|
static Set<String> |
getTypes(Application app,
String packageName)
Deprecated.
Deprecated as of 2.6.0
|
static Set<String> |
getTypes(Environment env,
String packageName)
Deprecated.
Deprecated as of 2.6.0
|
static Set<Class<?>> |
getTypesAnnotatedWith(Application app,
String packageName,
Class<? extends Annotation> annotation)
Deprecated.
Deprecated as of 2.6.0
|
static Set<Class<?>> |
getTypesAnnotatedWith(Environment env,
String packageName,
Class<? extends Annotation> annotation)
Deprecated.
Deprecated as of 2.6.0
|
@Deprecated public static Set<String> getTypes(Application app, String packageName)
This method is useful for some plug-ins, for example the EBean plugin will automatically detect all types within the models package.
Note that it is better to specify a very specific package to avoid expensive searches.
app - the Play applicationpackageName - the root package to scan@Deprecated public static Set<Class<?>> getTypesAnnotatedWith(Application app, String packageName, Class<? extends Annotation> annotation)
This method is useful for some plug-ins, for example the EBean plugin will automatically detect all types
annotated with @javax.persistance.Entity.
Note that it is better to specify a very specific package to avoid expensive searches.
app - the play application.packageName - the root package to scanannotation - annotation class@Deprecated public static Set<String> getTypes(Environment env, String packageName)
This method is useful for some plug-ins, for example the EBean plugin will automatically detect all types within the models package.
Note that it is better to specify a very specific package to avoid expensive searches.
env - the Play environment.packageName - the root package to scan@Deprecated public static Set<Class<?>> getTypesAnnotatedWith(Environment env, String packageName, Class<? extends Annotation> annotation)
This method is useful for some plug-ins, for example the EBean plugin will automatically detect all types
annotated with @javax.persistance.Entity.
Note that it is better to specify a very specific package to avoid expensive searches.
env - the Play environment.packageName - the root package to scanannotation - annotation class@Deprecated public static org.reflections.util.ConfigurationBuilder getReflectionsConfiguration(String packageName, ClassLoader classLoader)
Configuration object for given package name and class loader.packageName - the root package to scanclassLoader - class loader to be used in reflections