|
JBoss STDIO 1.0.0.GA | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.stdio.SimpleStdioContextSelector
public final class SimpleStdioContextSelector
A simple org.jboss.stdio.StdioContextSelector
implementation which always selects the same context.
Constructor Summary | |
---|---|
SimpleStdioContextSelector(StdioContext context)
Construct a new instance. |
Method Summary | |
---|---|
StdioContext |
getStdioContext()
Get the current stdio context. |
void |
install()
Attempt to install this context selector as the current one. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleStdioContextSelector(StdioContext context)
context
- the context to use (must not be null
)Method Detail |
---|
public StdioContext getStdioContext()
null
.
getStdioContext
in interface StdioContextSelector
public void install()
StdioContext.setStdioContextSelector(StdioContextSelector)
|
JBoss STDIO 1.0.0.GA | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |