[jboss-jira] [JBoss JIRA] (AS7-4699) Use OperationBuilder.addFileAsAttachment in the ServerDeploymentManager and DomainDeploymentManager impls

Jason Greene (JIRA) jira-events at lists.jboss.org
Tue Apr 23 15:46:57 EDT 2013


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

Jason Greene updated AS7-4699:
------------------------------

        Parent:     (was: AS7-4696)
    Issue Type: Task  (was: Sub-task)

    
> Use OperationBuilder.addFileAsAttachment in the ServerDeploymentManager and DomainDeploymentManager impls
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: AS7-4699
>                 URL: https://issues.jboss.org/browse/AS7-4699
>             Project: Application Server 7
>          Issue Type: Task
>          Components: Domain Management
>            Reporter: Brian Stansberry
>             Fix For: 8.0.0.Alpha1
>
>
> The ServerDeploymentManager and DomainDeploymentManager interfaces allow users to pass in a File. Currently we immediate convert that File to a FileInputStream and use that IS in the resulting operation. That will force an in-memory copy. Instead, use the OperationBuilder.addFileAsAttachment method introduced in the parent task. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list