public class DefaultSystemService extends Object implements SystemService
SystemService.| Constructor and Description |
|---|
DefaultSystemService(org.osgi.framework.BundleContext bundleContext) |
| Modifier and Type | Method and Description |
|---|---|
PrintStream |
getErr() |
InputStream |
getIn() |
PrintStream |
getOut() |
boolean |
isStopping() |
void |
setErr(PrintStream err)
Sets the Stream for writing
System.err. |
void |
setIn(InputStream in)
Sets the Stream for reading.
|
void |
setOut(PrintStream out)
Sets the Stream for writing
System.out. |
void |
shutdown()
Shutdown the system now.
|
public DefaultSystemService(org.osgi.framework.BundleContext bundleContext)
public void shutdown()
SystemServiceshutdown in interface SystemServicepublic boolean isStopping()
isStopping in interface SystemServicepublic void setIn(InputStream in)
setIn in interface SystemServicein - the given inputstreampublic InputStream getIn()
getIn in interface SystemServiceSystem.in.public void setOut(PrintStream out)
System.out.setOut in interface SystemServiceout - the given printstreampublic PrintStream getOut()
getOut in interface SystemServiceSystem.out.public void setErr(PrintStream err)
System.err.setErr in interface SystemServiceerr - the given printstreampublic PrintStream getErr()
getErr in interface SystemServiceSystem.out.Copyright © 2013 OW2 Consortium. All Rights Reserved.