All Packages This Package Previous Next
Class sqlj.runtime.DefaultRuntime
java.lang.Object
|
+----sqlj.runtime.RuntimeContext
|
+----sqlj.runtime.DefaultRuntime
- public class DefaultRuntime
- extends RuntimeContext
The default runtime context is implemented to satisfy the expected
runtime behavior of sqlj for most java virtual machine environments.
-
DefaultRuntime()
-
-
getDefaultConnection()
- By default, there is no implicit connection available.
-
getLoaderForClass(Class)
- Creates and returns a default loader object which uses the class
loader of the passed class.
DefaultRuntime
public DefaultRuntime()
getLoaderForClass
public Loader getLoaderForClass(Class forClass)
- Creates and returns a default loader object which uses the class
loader of the passed class.
- Parameters:
- forClass - the class with which the resulting loader is to be
associated.
- Returns:
- a default loader for the passed class
- Overrides:
- getLoaderForClass in class RuntimeContext
- See Also:
- DefaultLoader
getDefaultConnection
public Connection getDefaultConnection()
- By default, there is no implicit connection available. Accordingly,
this method always returns null.
- Returns:
- null
- Overrides:
- getDefaultConnection in class RuntimeContext
All Packages This Package Previous Next