[jboss-jira] [JBoss JIRA] Issue Comment Edited: (AS7-725) Register URLStreamHandlerFactories with modules API
Thomas Diesler (JIRA)
jira-events at lists.jboss.org
Mon May 9 10:33:18 EDT 2011
[ https://issues.jboss.org/browse/AS7-725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12600713#comment-12600713 ]
Thomas Diesler edited comment on AS7-725 at 5/9/11 10:31 AM:
-------------------------------------------------------------
Done
{code}
// Register the vfs module as URLStreamHandlerFactory
try {
ModuleLoader bootLoader = Module.getBootModuleLoader();
Module vfsModule = bootLoader.loadModule(ModuleIdentifier.create(VFS_MODULE_IDENTIFIER));
Module.registerURLStreamHandlerFactoryModule(vfsModule);
} catch (Exception ex) {
log.errorf(ex, "Cannot add module '%s' as URLStreamHandlerFactory provider", VFS_MODULE_IDENTIFIER);
}
{code}
https://github.com/tdiesler/jboss-as/commit/0623bc62eebe16d6081e0144de4aa02e717bf8c5
was (Author: thomas.diesler):
Done
{code}
// Register the vfs module as URLStreamHandlerFactory
try {
ModuleLoader bootLoader = Module.getBootModuleLoader();
Module vfsModule = bootLoader.loadModule(ModuleIdentifier.create(VFS_MODULE_IDENTIFIER));
Module.registerURLStreamHandlerFactoryModule(vfsModule);
} catch (Exception ex) {
log.errorf(ex, "Cannot add module '%s' as URLStreamHandlerFactory provider", VFS_MODULE_IDENTIFIER);
}
{code}
> Register URLStreamHandlerFactories with modules API
> ---------------------------------------------------
>
> Key: AS7-725
> URL: https://issues.jboss.org/browse/AS7-725
> Project: Application Server 7
> Issue Type: Task
> Reporter: Thomas Diesler
> Assignee: Thomas Diesler
> Fix For: 7.0.0.CR1
>
>
> This currently relies on hacks that manipulate system properties
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list