org.apache.tuscany.core.injection
Class ContextObjectFactory
java.lang.Object
org.apache.tuscany.core.injection.ContextObjectFactory
- All Implemented Interfaces:
- ObjectFactory<CompositeContext>
public class ContextObjectFactory
- extends 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) $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContextObjectFactory
public ContextObjectFactory(ContextResolver resolver)
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
-