[shrinkwrap-issues] [JBoss JIRA] Commented: (SHRINKDESC-21) descriptor read-only mode

Andrew Rubinger (JIRA) jira-events at lists.jboss.org
Thu Aug 25 14:08:17 EDT 2011


    [ https://issues.jboss.org/browse/SHRINKDESC-21?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12624102#comment-12624102 ] 

Andrew Rubinger commented on SHRINKDESC-21:
-------------------------------------------

Recommend instead of going to a read-only mode, instead separating out:

WebAppDescriptor
WebAppMutableDescriptor

...where any mutable operations are contained in the WebAppMutableDescriptor contract.  Using just the WebAppDescriptor interface would expose read-only operations.

WDYT, guys?

> descriptor read-only mode
> -------------------------
>
>                 Key: SHRINKDESC-21
>                 URL: https://issues.jboss.org/browse/SHRINKDESC-21
>             Project: ShrinkWrap Descriptors
>          Issue Type: Feature Request
>          Components: api
>    Affects Versions: 0.1.0
>            Reporter: Dan Allen
>
> The import procedure should support a read-only mode. The returned descriptor type would only have the read methods and none of the fluent modifier methods. This would be useful in a framework that is providing access to a descriptor for inspection only (such as a framework consuming a descriptor for the purpose of configuration).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the shrinkwrap-issues mailing list