|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tuscany.sca.core.assembly.RuntimeWireImpl
public class RuntimeWireImpl
| Constructor Summary | |
|---|---|
RuntimeWireImpl(EndpointReference source,
EndpointReference target,
InterfaceContractMapper interfaceContractMapper,
WorkScheduler workScheduler,
RuntimeWireProcessor wireProcessor,
MessageFactory messageFactory,
ConversationManager conversationManager)
|
|
| Method Summary | |
|---|---|
void |
addToCache(EndpointReference callback,
RuntimeWire clonedWire)
|
java.lang.Object |
clone()
|
InvocationChain |
getBindingInvocationChain()
Get the invocation chain for the binding-specific handling |
ConversationManager |
getConversationManager()
|
InvocationChain |
getInvocationChain(Operation operation)
Lookup the invocation chain by operation |
java.util.List<InvocationChain> |
getInvocationChains()
Returns the invocation chains for service operations associated with the wire |
EndpointReference |
getSource()
Get the source of the wire |
EndpointReference |
getTarget()
Get the target of the wire |
java.lang.Object |
invoke(Message msg)
This invoke method assumes that the binding invocation chain is in force and that there will be an operation selector element there to determine which operation to call |
java.lang.Object |
invoke(Operation operation,
Message msg)
Invoke an operation with a context message |
java.lang.Object |
invoke(Operation operation,
java.lang.Object[] args)
Invoke an operation with given arguments |
RuntimeWire |
lookupCache(EndpointReference callback)
|
void |
rebuild()
Force the invocation chains to be rebuilt |
void |
releaseClonedWire(RuntimeWire wire)
|
void |
releaseWire()
|
void |
setTarget(EndpointReference target)
Rebind the runtime wire with the given target |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RuntimeWireImpl(EndpointReference source,
EndpointReference target,
InterfaceContractMapper interfaceContractMapper,
WorkScheduler workScheduler,
RuntimeWireProcessor wireProcessor,
MessageFactory messageFactory,
ConversationManager conversationManager)
source - target - interfaceContractMapper - workScheduler - wireProcessor - messageFactory - conversationManager - | Method Detail |
|---|
public java.util.List<InvocationChain> getInvocationChains()
RuntimeWire
getInvocationChains in interface RuntimeWirepublic InvocationChain getBindingInvocationChain()
RuntimeWire
getBindingInvocationChain in interface RuntimeWirepublic InvocationChain getInvocationChain(Operation operation)
RuntimeWire
getInvocationChain in interface RuntimeWireoperation - The operation
public java.lang.Object invoke(Message msg)
throws java.lang.reflect.InvocationTargetException
RuntimeWire
invoke in interface RuntimeWiremsg - The message
java.lang.reflect.InvocationTargetException
public java.lang.Object invoke(Operation operation,
java.lang.Object[] args)
throws java.lang.reflect.InvocationTargetException
RuntimeWire
invoke in interface RuntimeWireoperation - The operationargs - The arguments
java.lang.reflect.InvocationTargetException
public java.lang.Object invoke(Operation operation,
Message msg)
throws java.lang.reflect.InvocationTargetException
RuntimeWire
invoke in interface RuntimeWireoperation - The operationmsg - The message
java.lang.reflect.InvocationTargetExceptionpublic EndpointReference getSource()
RuntimeWire
getSource in interface RuntimeWirepublic EndpointReference getTarget()
RuntimeWire
getTarget in interface RuntimeWirepublic void setTarget(EndpointReference target)
RuntimeWire
setTarget in interface RuntimeWiretarget - The target endpoint referencepublic void rebuild()
RuntimeWire
rebuild in interface RuntimeWire
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in interface RuntimeWireclone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionObject.clone()public ConversationManager getConversationManager()
public RuntimeWire lookupCache(EndpointReference callback)
public void addToCache(EndpointReference callback,
RuntimeWire clonedWire)
public void releaseClonedWire(RuntimeWire wire)
public void releaseWire()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||