|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--sqlj.runtime.RuntimeContext | +--sqlj.runtime.DefaultRuntime
The default runtime context is implemented to satisfy the expected runtime behavior of sqlj for most java virtual machine environments.
Fields inherited from class sqlj.runtime.RuntimeContext |
DEFAULT_DATA_SOURCE,
DEFAULT_RUNTIME,
PROPERTY_KEY |
Constructor Summary |
DefaultRuntime()
|
Method Summary |
Type | Method |
---|---|
java.sql.Connection |
getDefaultConnection()
The default data source defined in JNDI is used to establish the default connection. |
sqlj.runtime.profile.Loader |
getLoaderForClass(java.lang.Class forClass)
Creates and returns a default loader object which uses the class loader of the passed class. |
Methods inherited from class sqlj.runtime.RuntimeContext |
getRuntime |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public DefaultRuntime()
Method Detail |
public sqlj.runtime.profile.Loader getLoaderForClass(java.lang.Class forClass)
forClass
- the class with which the resulting loader is to be
associated.DefaultLoader
public java.sql.Connection getDefaultConnection()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |