public final class SimpleStdioContextSelector extends Object implements StdioContextSelector
org.jboss.stdio.StdioContextSelector
implementation which always selects the same 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.
|
public SimpleStdioContextSelector(StdioContext context)
context
- the context to use (must not be null
)public StdioContext getStdioContext()
null
.getStdioContext
in interface StdioContextSelector
public void install()
Copyright © 2013 JBoss, a division of Red Hat, Inc.