public class JContextFactory extends java.lang.Object implements ContextFactory
ContextFactory
.Modifier and Type | Class and Description |
---|---|
static class |
JContextFactory.ContextElement
Class of the context elements used by JContextFactory.
|
protected class |
JContextFactory.JContext
Implementation of
Context . |
Modifier and Type | Field and Description |
---|---|
static boolean |
check_types
Indicates whether type checking should be performed.
|
static JContextFactory |
instance |
Constructor and Description |
---|
JContextFactory() |
Modifier and Type | Method and Description |
---|---|
Context |
newContext()
Returns a new
JContext
instance. |
Context |
newContext(Context _scope)
Returns a new
JContext
instance with scope
scope . |
public static final boolean check_types
public static final JContextFactory instance
public Context newContext()
JContext
instance.newContext
in interface ContextFactory
JContextFactory.JContext
instance.public Context newContext(Context _scope)
JContext
instance with scope
scope
.
_scope
must have been acquired by the caller first, if it is
to be shared.
newContext
in interface ContextFactory
scope
- the scope of the returned context instance;JContext
instance.