public class DeploymentContext
extends org.jboss.arquillian.container.spi.client.protocol.metadata.NamedContext
NamedContext implementation backed by streams and reader/writer to interact with the Arquillian Server Daemon
over wire protocol. No caller should close any of the resources in this DeploymentContext; they are to be
managed by the establishing container. Essentially acts as a value object to hand off resources between the container
and the DaemonMethodExecutor| Modifier and Type | Method and Description |
|---|---|
static DeploymentContext |
create(String deploymentName,
InputStream socketInstream,
OutputStream socketOutstream,
BufferedReader reader,
PrintWriter writer)
Creates and returns a new
DeploymentContext instance from the required arguments |
BufferedReader |
getReader() |
InputStream |
getSocketInstream() |
OutputStream |
getSocketOutstream() |
PrintWriter |
getWriter() |
public static DeploymentContext create(String deploymentName, InputStream socketInstream, OutputStream socketOutstream, BufferedReader reader, PrintWriter writer) throws IllegalArgumentException
DeploymentContext instance from the required argumentsdeploymentName - Name of the deploymentsocketInstream - socketOutstream - reader - writer - IllegalArgumentException - If any argument is not specifiedpublic InputStream getSocketInstream()
public OutputStream getSocketOutstream()
public BufferedReader getReader()
public PrintWriter getWriter()
Copyright © 2016 JBoss by Red Hat. All rights reserved.