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

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Wed May 2 13:04:17 EDT 2012


Brian Stansberry created AS7-4699:
-------------------------------------

             Summary: 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: Sub-task
          Components: Domain Management
            Reporter: Brian Stansberry
             Fix For: 7.2.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: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list