Package org.glassfish.deployment.common

Examples of org.glassfish.deployment.common.ClientArtifactsManager.artifacts()


    private void copyArtifactsFromOtherDeployers(
            final WritableArchive facadeArchive,
            final DeploymentContext dc) throws IOException {
        final ClientArtifactsManager artifacts = ClientArtifactsManager.get(dc);
        for (Artifacts.FullAndPartURIs artifact : artifacts.artifacts()) {
            OutputStream os = facadeArchive.putNextEntry(artifact.getPart().toASCIIString());
            InputStream is = new BufferedInputStream(new FileInputStream(new File(artifact.getFull())));
            AppClientDeployerHelper.copyStream(is, os);
            try {
                is.close();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.