public abstract class EvwSrvcBase extends java.lang.Object implements RegInit, Debuggable
This is the base class for all heavy EventWeb service and service provider classes.
Modifier and Type | Field and Description |
---|---|
protected boolean |
debugging
Debuging flag
|
static java.lang.String[] |
DEP_LIST
Class dependencies
|
protected Logger |
log
Logger for this service
|
protected SrvcRegistry |
registry
The service registry
|
protected boolean |
tracingIo
I/O tracing flag
|
static java.lang.String |
VERSION
Class version
|
IF_VERSION
IF_VERSION
Modifier | Constructor and Description |
---|---|
protected |
EvwSrvcBase()
Create a new EvwService
|
Modifier and Type | Method and Description |
---|---|
void |
init(SrvcRegistry registry,
java.lang.String params)
Initialize the service.
|
boolean |
isDebugging()
Get debug state.
|
boolean |
isTracingIo()
Get I/O tracing state.
|
void |
setDebugging(boolean debug)
Set or clear debugging
|
void |
setTracingIo(boolean trace)
Set or clear I/O tracing
|
public static final java.lang.String VERSION
public static final java.lang.String[] DEP_LIST
protected SrvcRegistry registry
protected Logger log
protected boolean tracingIo
protected boolean debugging
public void setDebugging(boolean debug)
setDebugging
in interface Debuggable
debug
- If true, debugging is turned on,
otherwise, debugging is turned off.public boolean isDebugging()
isDebugging
in interface Debuggable
public void setTracingIo(boolean trace)
trace
- If true, I/O tracing is turned on,
otherwise, I/O tracing is turned off.public boolean isTracingIo()
public void init(SrvcRegistry registry, java.lang.String params)