org.apache.tuscany.sca.core.invocation
Class CallbackWireObjectFactory<B>

java.lang.Object
  extended by org.apache.tuscany.sca.core.invocation.CallbackWireObjectFactory<B>
All Implemented Interfaces:
ObjectFactory<B>

public class CallbackWireObjectFactory<B>
extends java.lang.Object
implements ObjectFactory<B>

Returns proxy instance for a wire callback


Constructor Summary
CallbackWireObjectFactory(java.lang.Class<B> interfaze, ProxyFactory proxyFactory, java.util.List<RuntimeWire> wires)
           
 
Method Summary
 B 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

CallbackWireObjectFactory

public CallbackWireObjectFactory(java.lang.Class<B> interfaze,
                                 ProxyFactory proxyFactory,
                                 java.util.List<RuntimeWire> wires)
Method Detail

getInstance

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

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