public interface Env
Using this abstraction, Components can be built on a modular basis, and still have the essentials of functioning within the service mechanism.
Thus, for instance, an Module could be made to work in two separate service types, with substantial differences in choices of logging, or auditing, and still have reasonably deep insight, such as the exact time a remote service was invoked.
There is a bit of an assumption corresponding to the reality of the 2000s that XML plays a part in most service work.
| Modifier and Type | Field and Description |
|---|---|
static int |
ALWAYS |
static int |
CHECKPOINT |
static int |
JSON |
static int |
REMOTE
Basic and Common Audit info...
|
static int |
SUB |
static int |
XML |
| Modifier and Type | Method and Description |
|---|---|
LogTarget |
audit()
Required Audit statements
|
LogTarget |
debug()
Fine-grained informational events useful for debugging
|
Decryptor |
decryptor()
Passwords should be encrypted on the disk.
|
Encryptor |
encryptor() |
LogTarget |
error()
Severe Error, but program might continue running
|
LogTarget |
fatal()
Very Severe Error may cause program to abort
|
String |
getProperty(String tag) |
String |
getProperty(String tag,
String deflt) |
LogTarget |
info()
Course Grained highlights of program progress
|
LogTarget |
init()
Initialization steps...
|
String |
setProperty(String tag,
String value) |
TimeTaken |
start(String name,
int flag)
Start a Time Trail with differentiation by flag.
|
LogTarget |
trace()
Finest grained Informational events...
|
LogTarget |
warn()
Potentially harmful situations
|
static final int REMOTE
static final int XML
static final int JSON
static final int SUB
static final int CHECKPOINT
static final int ALWAYS
LogTarget fatal()
LogTarget error()
LogTarget audit()
LogTarget init()
LogTarget warn()
LogTarget info()
LogTarget debug()
LogTarget trace()
TimeTaken start(String name, int flag)
string - flag - Decryptor decryptor()
tag - Encryptor encryptor()
Copyright © 2017. All rights reserved.