commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brad Davis (JIRA)" <j...@apache.org>
Subject [jira] Commented: (VFS-281) Enhance FileSystemOptions so that the ConfigBuilder classes are no longer necessary.
Date Tue, 13 Jul 2010 19:45:50 GMT

    [ https://issues.apache.org/jira/browse/VFS-281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12887958#action_12887958
] 

Brad Davis commented on VFS-281:
--------------------------------

This will also make it a lot easier to incorporate VFS into spring (or other IOC) frameworks.

> Enhance FileSystemOptions so that the ConfigBuilder classes are no longer necessary.
> ------------------------------------------------------------------------------------
>
>                 Key: VFS-281
>                 URL: https://issues.apache.org/jira/browse/VFS-281
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 2.0
>            Reporter: Ralph Goers
>            Assignee: Ralph Goers
>             Fix For: 2.0
>
>
> Many of the file providers accept options. The options are stored in the FileSystemOptions
class. In order to store and retrieve options a FileSystemOptions instance must be created
and than manipulated by a FileSystemConfigBuilder class with the appropriate get and set methods.
This can be clumsy and cumbersome. A better approach is to allow each file system extend the
FileSystemOptions class to provide the appropriate get and set methods. However, various file
systems must be able to store their options in the same underlying data structure. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message