[jira] Created: (VFS-281) Enhance FileSystemOptions so that the ConfigBuilder classes are no longer necessary.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (VFS-281) Enhance FileSystemOptions so that the ConfigBuilder classes are no longer necessary.

ASF GitHub Bot (Jira)
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.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (VFS-281) Enhance FileSystemOptions so that the ConfigBuilder classes are no longer necessary.

ASF GitHub Bot (Jira)

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