[
https://jira.jboss.org/jira/browse/JBCL-158?page=com.atlassian.jira.plugi...
]
Ales Justin updated JBCL-158:
-----------------------------
Summary: Expose current visiting root in ResourceContext (was: Expose current
visiting root in VFSResourceVisitor)
Description:
Most of the scanning api requires underlying classpath root to be indexed.
Getting this from resource itself is either performance penalty or needs to load the
class.
Hence we need to expose the root as part of resource context.
was:
Most of the scanning api requires underlying classpath root to be indexed.
Getting this from resource itself is either performance penalty or needs to load the
class.
The simplest way to expose this, while still not being too much of a hack or api ugliness,
is to use thread local.
Expose current visiting root in ResourceContext
-----------------------------------------------
Key: JBCL-158
URL:
https://jira.jboss.org/jira/browse/JBCL-158
Project: JBoss ClassLoader
Issue Type: Feature Request
Components: VFS
Affects Versions: JBossCL.2.2.0.Beta1
Reporter: Ales Justin
Assignee: Ales Justin
Most of the scanning api requires underlying classpath root to be indexed.
Getting this from resource itself is either performance penalty or needs to load the
class.
Hence we need to expose the root as part of resource context.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira