Tuscany Core

org.apache.tuscany.core.injection
Class ContextObjectFactory

java.lang.Object
  extended by org.apache.tuscany.core.injection.ContextObjectFactory
All Implemented Interfaces:
ObjectFactory<CompositeContext>

public class ContextObjectFactory
extends java.lang.Object
implements ObjectFactory<CompositeContext>

An implementation of ObjectFactory that resolves the current parent context

Version:
$Rev: 380903 $ $Date: 2006-02-25 00:53:26 -0800 (Sat, 25 Feb 2006) $

Constructor Summary
ContextObjectFactory(ContextResolver resolver)
           
 
Method Summary
 CompositeContext getInstance()
          Return a instance of the type that this factory creates.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextObjectFactory

public ContextObjectFactory(ContextResolver resolver)
Method Detail

getInstance

public CompositeContext getInstance()
Description copied from interface: ObjectFactory
Return a instance of the type that this factory creates.

Specified by:
getInstance in interface ObjectFactory<CompositeContext>
Returns:
a instance from this factory

Tuscany Core

-