public class GogoRedirector extends java.lang.Object implements Redirector
There is a bit of a class space problem since the agent can be started on the framework side of the class path. For this reason, we carry a copy of the Gogo API classes and we will use proxies to use them. This leaves the Gogo API unconstrained.
| Constructor and Description |
|---|
GogoRedirector(AgentServer agentServer,
BundleContext context)
Create a redirector
|
public GogoRedirector(AgentServer agentServer, BundleContext context)
agentServer - the servercontext - the context, needed to get thepublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOExceptionpublic int getPort()
RedirectorgetPort in interface Redirectorpublic void stdin(java.lang.String s)
throws java.lang.Exception
Redirectorstdin in interface Redirectors - the inputjava.lang.Exceptionpublic java.io.PrintStream getOut()
throws java.lang.Exception
RedirectorgetOut in interface Redirectorjava.lang.ExceptionCopyright (c) aQute SARL (2000, 2016) and others. All Rights Reserved.