org.objectweb.jonathan.libs.kernel

Class TreeContextFactory

Implemented Interfaces:
ContextFactory
Known Direct Subclasses:
JConfigurationFactory

public class TreeContextFactory
extends JContextFactory

Jonathan: an Open Distributed Processing Environment Copyright (C) 2000 France Telecom R&D Copyright (C) 2001 Kelua SA This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Contact: jonathan@objectweb.org Author: Fabien Delpiano, Bruno Dumant ----------------------------------------------------------------- $Id: TreeContextFactory.java,v 1.1.1.1 2002/08/06 13:13:50 bmi Exp $ -----------------------------------------------------------------

Nested Class Summary

protected class
TreeContextFactory.TreeContext

Nested classes/interfaces inherited from class org.objectweb.jonathan.libs.kernel.JContextFactory

JContextFactory.ContextElement, JContextFactory.JContext

Field Summary

static boolean
check_types
Indicates whether type checking should be performed.
static TreeContextFactory
instance

Fields inherited from class org.objectweb.jonathan.libs.kernel.JContextFactory

check_types, instance

Method Summary

Context
newContext()
Returns a new TreeContext instance.
Context
newContext(Context _scope)
Returns a new TreeContext instance with scope scope.

Methods inherited from class org.objectweb.jonathan.libs.kernel.JContextFactory

newContext, newContext

Field Details

check_types

public static final boolean check_types
Indicates whether type checking should be performed.

Field Value:
false


instance

public static final TreeContextFactory instance

Method Details

newContext

public Context newContext()
Returns a new TreeContext instance.
Specified by:
newContext in interface ContextFactory
Overrides:
newContext in interface 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.

Specified by:
newContext in interface ContextFactory
Overrides:
newContext in interface JContextFactory

Parameters:

Returns:
a new TreeContext instance.