Tuscany Core

org.apache.tuscany.core.builder.impl
Class ProxyObjectFactory

java.lang.Object
  extended by org.apache.tuscany.core.builder.impl.ProxyObjectFactory
All Implemented Interfaces:
ObjectFactory

public class ProxyObjectFactory
extends Object
implements ObjectFactory

Uses a proxy factory to return an object instance

Version:
$Rev$ $Date$

Constructor Summary
ProxyObjectFactory(WireFactory factory)
           
 
Method Summary
 Object 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

ProxyObjectFactory

public ProxyObjectFactory(WireFactory factory)
Method Detail

getInstance

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

Specified by:
getInstance in interface ObjectFactory
Returns:
a instance from this factory
Throws:
ObjectCreationException

Tuscany Core

-