org.apache.tuscany.sca.core.invocation
Class CallbackReferenceObjectFactory

java.lang.Object
  extended by org.apache.tuscany.sca.core.invocation.CallbackReferenceObjectFactory
All Implemented Interfaces:
ObjectFactory<org.osoa.sca.CallableReference<?>>

public class CallbackReferenceObjectFactory
extends java.lang.Object
implements ObjectFactory<org.osoa.sca.CallableReference<?>>

Uses a wire to return a CallableReference


Constructor Summary
CallbackReferenceObjectFactory(java.lang.Class<?> interfaze, ProxyFactory proxyFactory, java.util.List<RuntimeWire> wires)
           
 
Method Summary
 org.osoa.sca.CallableReference<?> 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

CallbackReferenceObjectFactory

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

getInstance

public org.osoa.sca.CallableReference<?> getInstance()
                                              throws ObjectCreationException
Description copied from interface: ObjectFactory
Return a instance of the type that this factory creates.

Specified by:
getInstance in interface ObjectFactory<org.osoa.sca.CallableReference<?>>
Returns:
a instance from this factory
Throws:
ObjectCreationException