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

java.lang.Object
  extended by org.apache.tuscany.sca.core.context.CallableReferenceImpl<B>
      extended by org.apache.tuscany.sca.core.invocation.CallbackReferenceImpl<B>
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable, org.osoa.sca.CallableReference<B>

public class CallbackReferenceImpl<B>
extends CallableReferenceImpl<B>

Returns proxy instance for a wire callback

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.tuscany.sca.core.context.CallableReferenceImpl
binding, businessInterface, callbackID, component, compositeActivator, conversation, conversationID, conversationManager, proxy, proxyFactory, reference, scdl
 
Constructor Summary
CallbackReferenceImpl()
          Public constructor for Externalizable serialization/deserialization.
 
Method Summary
protected  java.lang.Object createProxy()
           
protected  RuntimeWire getCallbackWire()
           
protected  java.lang.Object getConvID()
           
protected  EndpointReference getResolvedEndpoint()
           
 void init()
           
static CallbackReferenceImpl newInstance(java.lang.Class interfaze, ProxyFactory proxyFactory, java.util.List<RuntimeWire> wires)
           
 void readExternal(java.io.ObjectInput in)
          
 void writeExternal(java.io.ObjectOutput out)
          
 
Methods inherited from class org.apache.tuscany.sca.core.context.CallableReferenceImpl
attachCallbackID, attachConversation, attachConversation, attachConversationID, bind, getBusinessInterface, getCallbackID, getConversation, getEndpointReference, getProxy, getReferenceParameters, getRuntimeWire, getService, getXMLReader, initCallbackID, isConversational, resolveComponentURI, resolveServiceURI, setProxy, toXMLString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CallbackReferenceImpl

public CallbackReferenceImpl()
Public constructor for Externalizable serialization/deserialization.

Method Detail

newInstance

public static CallbackReferenceImpl newInstance(java.lang.Class interfaze,
                                                ProxyFactory proxyFactory,
                                                java.util.List<RuntimeWire> wires)

init

public void init()

createProxy

protected java.lang.Object createProxy()
                                throws java.lang.Exception
Overrides:
createProxy in class CallableReferenceImpl<B>
Throws:
java.lang.Exception

getCallbackWire

protected RuntimeWire getCallbackWire()

getConvID

protected java.lang.Object getConvID()

getResolvedEndpoint

protected EndpointReference getResolvedEndpoint()

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException

Specified by:
readExternal in interface java.io.Externalizable
Overrides:
readExternal in class CallableReferenceImpl<B>
Throws:
java.io.IOException
java.lang.ClassNotFoundException
See Also:
Externalizable.readExternal(java.io.ObjectInput)

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException

Specified by:
writeExternal in interface java.io.Externalizable
Overrides:
writeExternal in class CallableReferenceImpl<B>
Throws:
java.io.IOException
See Also:
Externalizable.writeExternal(java.io.ObjectOutput)