final FastClasspathScanner scanner = new FastClasspathScanner("x.y.z");
final ScanResult scanResult = scanner.scan();
for (Map.Entry<String, ClassInfo> classInfoEntry : scanResult.getClassNameToClassInfo().entrySet()) {
LOG.info(classInfoEntry.getValue().getClassName());
processClass(classInfoEntry.getValue());
}
--
You received this message because you are subscribed to the Google Groups "FastClasspathScanner-Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fastclasspathscanner-users+unsub...@googlegroups.com.
To post to this group, send email to fastclasspathscanner-users@googlegroups.com.
Visit this group at https://groups.google.com/group/fastclasspathscanner-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/fastclasspathscanner-users/32ec8862-c1a2-4e51-bd1c-fbd0c844eca8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
LukeThanks,Hi Raimond,This probably just means that Websphere Liberty has its own custom classloader that is not yet supported. If you could please create a minimal testcase project that demonstrates the problem, so that I can reproduce, I'll take a shot at figuring out how to support this classloader.
On Thu, Jun 22, 2017 at 4:19 AM, Raimond Kempees <kem...@gmail.com> wrote:
Hi,I use the fast-classpath-scanner in WebSphere to load some annotated classes based on package name:
final FastClasspathScanner scanner = new FastClasspathScanner("x.y.z");final ScanResult scanResult = scanner.scan();
for (Map.Entry<String, ClassInfo> classInfoEntry : scanResult.getClassNameToClassInfo().entrySet()) {
LOG.info(classInfoEntry.getValue().getClassName());
processClass(classInfoEntry.getValue());
}
While this works fine in other application servers, it doesnt work on WAS Liberty - in the log I do not see the classes loaded of jar files inside the war, but only the ibm classes.What do I have to do / set to get hold of jar files / classes inside the war file? I looked at the https://github.com/lukehutch/fast-classpath-scanner/wiki/4.-Working-with-nonstandard-ClassLoaders page and I couldn't determine whether I need to configure a custome ClassLoaderHandler.Could someone help me out?Thanks!
--
You received this message because you are subscribed to the Google Groups "FastClasspathScanner-Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fastclasspathscanner-users+unsubsc...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to fastclasspathscanner-users+unsub...@googlegroups.com.
To post to this group, send email to fastclasspathscanner-users@googlegroups.com.
Visit this group at https://groups.google.com/group/fastclasspathscanner-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/fastclasspathscanner-users/CAJaqY8szvZUHLUaEiSEQpavJmqh8c-QVwGy5PAJfieST6U%3D-Wg%40mail.gmail.com.