org.objectweb.fractal.jonathan
Class JContextFactory

java.lang.Object
  extended by org.objectweb.fractal.jonathan.JContextFactory
All Implemented Interfaces:
ContextFactory

public class JContextFactory
extends java.lang.Object
implements ContextFactory

A minimal and Fractal compliant ContextFactory implementation.


Constructor Summary
JContextFactory()
           
 
Method Summary
 Context newContext()
          Returns a new Context instance.
 Context newContext(Context context)
          Returns a new Context instance with scope scope.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JContextFactory

public JContextFactory()
Method Detail

newContext

public Context newContext()
Description copied from interface: ContextFactory
Returns a new Context instance.

Specified by:
newContext in interface ContextFactory
Returns:
a new Context instance.

newContext

public Context newContext(Context context)
Description copied from interface: ContextFactory
Returns a new Context instance with scope scope.

Specified by:
newContext in interface ContextFactory
Parameters:
context - the scope of the returned context instance;
Returns:
a new Context instance.


Copyright © 2008 OW2 Consortium. All Rights Reserved.