public class BasicEnv extends StoreImpl implements EnvJAXB, TransCreate<TransJAXB>
| Modifier and Type | Field and Description |
|---|---|
protected LogTarget |
audit |
protected LogTarget |
debug |
protected Decryptor |
decryptor |
protected Encryptor |
encryptor |
protected LogTarget |
error |
protected LogTarget |
fatal |
protected LogTarget |
info |
protected LogTarget |
init |
protected LogTarget |
trace |
protected LogTarget |
warn |
| Constructor and Description |
|---|
BasicEnv(Applet applet,
String... tags)
Suitable for use in Applets...
|
BasicEnv(Properties props) |
BasicEnv(String... args) |
BasicEnv(String tag,
Properties props) |
BasicEnv(String tag,
String[] args) |
| Modifier and Type | Method and Description |
|---|---|
LogTarget |
audit()
Required Audit statements
|
LogTarget |
debug()
Fine-grained informational events useful for debugging
|
void |
debug(LogTarget lt) |
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
|
Properties |
getProperties(String... filter) |
String |
getProperty(String key) |
String |
getProperty(String key,
String defaultValue) |
LogTarget |
info()
Course Grained highlights of program progress
|
LogTarget |
init()
Initialization steps...
|
void |
loadFromSystemPropsStartsWith(String... str) |
void |
loadPropFiles(String tag,
ClassLoader classloader) |
void |
loadToSystemPropsStartsWith(String... str) |
<T> DataFactory<T> |
newDataFactory(Class<?>... classes)
Obtain a DataInterface from this Environment
|
<T> DataFactory<T> |
newDataFactory(QName qName,
Class<?>... classes) |
<T> DataFactory<T> |
newDataFactory(Schema schema,
Class<?>... classes)
Obtain a DataInterface from this Environment, with Validating Schema
|
<T> DataFactory<T> |
newDataFactory(Schema schema,
QName qName,
Class<?>... classes) |
BasicTrans |
newTrans() |
void |
set(Decryptor newDecryptor) |
void |
set(Encryptor newEncryptor) |
String |
setProperty(String key,
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
|
existingSlot, existingSlotNames, existingStaticSlotNames, get, get, newTransState, propsFromArgs, put, slot, staticSlotclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexistingSlot, existingSlotNames, existingStaticSlotNames, get, get, put, slot, staticSlotprotected LogTarget fatal
protected LogTarget error
protected LogTarget audit
protected LogTarget init
protected LogTarget warn
protected LogTarget info
protected LogTarget debug
protected LogTarget trace
protected Decryptor decryptor
protected Encryptor encryptor
public BasicEnv(String... args)
public BasicEnv(Applet applet, String... tags)
public BasicEnv(Properties props)
public BasicEnv(String tag, Properties props)
public LogTarget fatal()
Envpublic LogTarget error()
Envpublic LogTarget init()
Envpublic LogTarget info()
Envpublic LogTarget debug()
Envpublic void debug(LogTarget lt)
public LogTarget trace()
Envpublic TimeTaken start(String name, int flag)
Envpublic String getProperty(String key)
getProperty in interface Envpublic Properties getProperties(String... filter)
public String getProperty(String key, String defaultValue)
getProperty in interface Envpublic String setProperty(String key, String value)
setProperty in interface Envpublic Decryptor decryptor()
Envpublic void set(Decryptor newDecryptor)
public void set(Encryptor newEncryptor)
public <T> DataFactory<T> newDataFactory(Class<?>... classes) throws APIException
EnvJAXBnewDataFactory in interface EnvJAXBAPIExceptionpublic <T> DataFactory<T> newDataFactory(Schema schema, Class<?>... classes) throws APIException
EnvJAXBnewDataFactory in interface EnvJAXBAPIExceptionpublic <T> DataFactory<T> newDataFactory(QName qName, Class<?>... classes) throws APIException
newDataFactory in interface EnvJAXBAPIExceptionpublic <T> DataFactory<T> newDataFactory(Schema schema, QName qName, Class<?>... classes) throws APIException
newDataFactory in interface EnvJAXBAPIExceptionpublic BasicTrans newTrans()
newTrans in interface TransCreate<TransJAXB>public void loadFromSystemPropsStartsWith(String... str)
public void loadToSystemPropsStartsWith(String... str)
public void loadPropFiles(String tag, ClassLoader classloader) throws IOException
IOExceptionCopyright © 2017. All rights reserved.