|
JBoss Integration 6.0 Parent 6.0.0.CR1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JPAEnvironment
JPA environment.
Method Summary | |
---|---|
Set<Class<?>> |
getClassesInJar(URL jarToScan,
Class<? extends Annotation>... annotationsToLookFor)
Return all classes in the jar matching one of these annotations if annotationsToLookFor is empty, return all classes. |
Set<Resource> |
getFilesInClasspath(URL jarToScan,
String... filePatterns)
Return all files in the classpath (ie PU visibility) matching one of these file names if filePatterns is empty, return all files the use case is really exact file name. |
Set<Resource> |
getFilesInJar(URL jarToScan,
String... filePatterns)
Return all files in the jar matching one of these file names if filePatterns is empty, return all files e.g. |
Set<Package> |
getPackagesInJar(URL jarToScan,
Class<? extends Annotation>... annotationsToLookFor)
Return all packages in the jar matching one of these annotations if annotationsToLookFor is empty, return all packages. |
String |
getUnqualifiedJarName(URL url)
Return the unqualified JAR name ie customer-model.jar or store.war. |
Method Detail |
---|
Set<Package> getPackagesInJar(URL jarToScan, Class<? extends Annotation>... annotationsToLookFor)
jarToScan
- jar to scanannotationsToLookFor
- matching annotations
Set<Class<?>> getClassesInJar(URL jarToScan, Class<? extends Annotation>... annotationsToLookFor)
jarToScan
- jar to scanannotationsToLookFor
- matching annotations
Set<Resource> getFilesInJar(URL jarToScan, String... filePatterns)
jarToScan
- jar to scanfilePatterns
- file patterns
Set<Resource> getFilesInClasspath(URL jarToScan, String... filePatterns)
jarToScan
- jar to scanfilePatterns
- file patterns
String getUnqualifiedJarName(URL url)
url
- the url
|
JBoss Integration 6.0 Parent 6.0.0.CR1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |