public final class SimpleStdioContextSelector extends java.lang.Object implements StdioContextSelector
org.jboss.stdio.StdioContextSelector implementation which always selects the same context.| Modifier and Type | Field and Description |
|---|---|
private StdioContext |
context |
| Constructor and Description |
|---|
SimpleStdioContextSelector(StdioContext context)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
StdioContext |
getStdioContext()
Get the current stdio context.
|
void |
install()
Attempt to install this context selector as the current one.
|
private final StdioContext context
public SimpleStdioContextSelector(StdioContext context)
context - the context to use (must not be null)public StdioContext getStdioContext()
null.getStdioContext in interface StdioContextSelectorpublic void install()