[jboss-jira] [JBoss JIRA] Resolved: (JBCL-63) Tie usage of isCacheable with VFSClassLoaderPolicyModule::getVirtualFile

Ales Justin (JIRA) jira-events at lists.jboss.org
Tue Nov 4 09:36:21 EST 2008


     [ https://jira.jboss.org/jira/browse/JBCL-63?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ales Justin resolved JBCL-63.
-----------------------------

    Resolution: Done


> Tie usage of isCacheable with VFSClassLoaderPolicyModule::getVirtualFile
> ------------------------------------------------------------------------
>
>                 Key: JBCL-63
>                 URL: https://jira.jboss.org/jira/browse/JBCL-63
>             Project: JBoss ClassLoader
>          Issue Type: Feature Request
>          Components: Modules
>    Affects Versions: JBossCL.2.0.0.CR5
>            Reporter: Ales Justin
>            Assignee: Ales Justin
>             Fix For: JBossCL.2.0.0.GA
>
>
> We should use isCacheable to determine how we get virtual file root.
> e.g.
>    protected VirtualFile getVirtualFile(URI uri) throws Exception
>    {
>       if (isCacheable())
>          return VFS.getCachedFile(uri);
>       else
>          return VFS.getRoot(uri);
>    }

-- 
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

        



More information about the jboss-jira mailing list