Package org.glassfish.deployment.common
Class ClientJarWriter
- java.lang.Object
-
- org.glassfish.deployment.common.ClientJarWriter
-
public class ClientJarWriter extends Object
Writes a client JAR file, if one is needed, suitable for downloading.Deployers will use the
ClientArtifactsManager
to record files which they generate that need to be included in the downloadable client JAR. Examples are EJB stubs, web services artifacts, and JARs related to app clients. Once all deployers have run through the prepare phase this class can be used to create the client JAR, collecting those client artifacts into the generated JAR, and adding the generated client JAR to the list of files related to this application that are available for download.- Author:
- tjquinn
-
-
Field Summary
Fields Modifier and Type Field Description static Logger
deplLogger
-
Constructor Summary
Constructors Constructor Description ClientJarWriter(ExtendedDeploymentContext deploymentContext)
-
-
-
Field Detail
-
deplLogger
public static final Logger deplLogger
-
-
Constructor Detail
-
ClientJarWriter
public ClientJarWriter(ExtendedDeploymentContext deploymentContext)
-
-
Method Detail
-
run
public void run() throws IOException
- Throws:
IOException
-
-