org.objectweb.jonathan.libs.kernel
Class TreeContextFactory
java.lang.Object
|
+--org.objectweb.jonathan.libs.kernel.JContextFactory
|
+--org.objectweb.jonathan.libs.kernel.TreeContextFactory
- All Implemented Interfaces:
- ContextFactory
- Direct Known Subclasses:
- JConfigurationFactory
- public class TreeContextFactory
- extends JContextFactory
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
check_types
public static final boolean check_types
- Indicates whether type checking should be performed.
instance
public static final TreeContextFactory instance
TreeContextFactory
public TreeContextFactory()
newContext
public Context newContext()
- Returns a new
TreeContext
instance.
- Overrides:
newContext in class JContextFactory
- Returns:
- a new
TreeContextFactory.TreeContext instance.
newContext
public Context newContext(Context _scope)
- Returns a new
TreeContext
instance with scope
scope.
_scope must have been acquired by the caller first, if it is
to be shared.
- Overrides:
newContext in class JContextFactory
- Parameters:
scope - the scope of the returned context instance;- Returns:
- a new
TreeContext
instance.