public static class RemoteJavaApplicationLauncher.RemoteJavaApplicationProcess extends Object implements JavaApplicationProcess
RemoteJavaApplicationLauncher.RemoteJavaApplicationProcess is an adapter for a RemoteApplicationProcess,
specifically for Java-based applications.RemoteChannel.AcknowledgeWhen, RemoteChannel.Inject| Constructor and Description |
|---|
RemoteJavaApplicationProcess(RemoteApplicationProcess process,
ControllableRemoteChannel remoteChannel,
Properties systemProperties)
|
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(RemoteEventListener listener,
com.oracle.bedrock.Option... options) |
void |
close() |
int |
exitValue() |
InputStream |
getErrorStream() |
long |
getId() |
InputStream |
getInputStream() |
OutputStream |
getOutputStream() |
Properties |
getSystemProperties() |
CompletableFuture<Void> |
raise(RemoteEvent event,
com.oracle.bedrock.Option... options) |
void |
removeListener(RemoteEventListener listener,
com.oracle.bedrock.Option... options) |
<T> CompletableFuture<T> |
submit(RemoteCallable<T> callable,
com.oracle.bedrock.Option... options) |
CompletableFuture<Void> |
submit(RemoteRunnable runnable,
com.oracle.bedrock.Option... options) |
int |
waitFor(com.oracle.bedrock.Option... options) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetpublic RemoteJavaApplicationProcess(RemoteApplicationProcess process, ControllableRemoteChannel remoteChannel, Properties systemProperties)
process - the underlying RemoteApplicationProcessremoteChannel - the RemoteChannel for executing remote requestssystemProperties - the resolved System Properties provided to the {}public long getId()
getId in interface ApplicationProcesspublic Properties getSystemProperties()
getSystemProperties in interface JavaApplicationProcesspublic void close()
close in interface ApplicationProcessclose in interface Closeableclose in interface AutoCloseablepublic int exitValue()
exitValue in interface ApplicationProcesspublic InputStream getErrorStream()
getErrorStream in interface ApplicationProcesspublic InputStream getInputStream()
getInputStream in interface ApplicationProcesspublic OutputStream getOutputStream()
getOutputStream in interface ApplicationProcesspublic int waitFor(com.oracle.bedrock.Option... options)
waitFor in interface ApplicationProcesspublic <T> CompletableFuture<T> submit(RemoteCallable<T> callable, com.oracle.bedrock.Option... options) throws IllegalStateException
submit in interface RemoteChannelIllegalStateExceptionpublic CompletableFuture<Void> submit(RemoteRunnable runnable, com.oracle.bedrock.Option... options) throws IllegalStateException
submit in interface RemoteChannelIllegalStateExceptionpublic void addListener(RemoteEventListener listener, com.oracle.bedrock.Option... options)
addListener in interface RemoteChannelpublic void removeListener(RemoteEventListener listener, com.oracle.bedrock.Option... options)
removeListener in interface RemoteChannelpublic CompletableFuture<Void> raise(RemoteEvent event, com.oracle.bedrock.Option... options)
raise in interface RemoteChannelCopyright © 2017. All rights reserved.