org.apache.ace.deployment.streamgenerator
Interface StreamGenerator

All Known Implementing Classes:
StreamGeneratorImpl

public interface StreamGenerator


Method Summary
 InputStream getDeploymentPackage(String id, String version)
          Returns an input stream with the requested deployment package.
 InputStream getDeploymentPackage(String id, String fromVersion, String toVersion)
          Returns an input stream with the requested deployment fix package.
 

Method Detail

getDeploymentPackage

InputStream getDeploymentPackage(String id,
                                 String version)
                                 throws IOException
Returns an input stream with the requested deployment package.

Parameters:
id - the ID of the package
version - the version of the package
Returns:
an input stream
Throws:
IOException - when the stream could not be generated

getDeploymentPackage

InputStream getDeploymentPackage(String id,
                                 String fromVersion,
                                 String toVersion)
                                 throws IOException
Returns an input stream with the requested deployment fix package.

Parameters:
id - the ID of the package.
fromVersion - the version of the target.
toVersion - the version the target should be in after applying the package.
Returns:
an input stream.
Throws:
IOException - when the stream could not be generated.


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.