|
Apache Tuscany SCA Kernel Sub-Project | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OutboundWire
Implementations are responsible for managing the reference side of a wire, including the invocation chains associated
with each service operation. An OutboundWire
is connected to an InboundWire
through their
invocation chains.
Method Summary | |
---|---|
void |
addInvocationChain(Operation<?> operation,
OutboundInvocationChain chain)
Adds the invocation chain associated with the given operation |
void |
addInvocationChains(Map<Operation<?>,OutboundInvocationChain> chains)
Adds the collection of invocation chains keyed by operation |
void |
addTargetCallbackInvocationChain(Operation<?> operation,
InboundInvocationChain chain)
Adds the callback invocation chain associated with the given operation |
void |
addTargetCallbackInvocationChains(Map<Operation<?>,InboundInvocationChain> chains)
Adds the collection of callback invocation chains keyed by operation |
Class<?> |
getCallbackInterface()
Returns the callback interface type implemented by generated proxies |
Map<Operation<?>,OutboundInvocationChain> |
getInvocationChains()
Returns the invocation configuration for each operation on a service specified by a reference or a target service. |
String |
getReferenceName()
Returns the name of the source reference |
Map<Operation<?>,InboundInvocationChain> |
getTargetCallbackInvocationChains()
Returns the callback invocation configuration for each operation on a service specified by a reference or a target service. |
QualifiedName |
getTargetName()
Returns the name of the target |
void |
setCallbackInterface(Class<?> interfaze)
Sets the callback interface type generated proxies implement |
void |
setReferenceName(String name)
Sets the name of the source reference |
void |
setTargetName(QualifiedName name)
Sets the name of the target |
void |
setTargetWire(InboundWire wire)
Set when a wire can be optimized; that is when no handlers or interceptors exist on either end |
Methods inherited from interface org.apache.tuscany.spi.wire.RuntimeWire |
---|
addInterface, getContainer, getServiceContract, getTargetService, isOptimizable, setContainer, setServiceContract |
Method Detail |
---|
String getReferenceName()
void setReferenceName(String name)
QualifiedName getTargetName()
void setTargetName(QualifiedName name)
void setCallbackInterface(Class<?> interfaze)
Class<?> getCallbackInterface()
Map<Operation<?>,OutboundInvocationChain> getInvocationChains()
void addInvocationChains(Map<Operation<?>,OutboundInvocationChain> chains)
void addInvocationChain(Operation<?> operation, OutboundInvocationChain chain)
Map<Operation<?>,InboundInvocationChain> getTargetCallbackInvocationChains()
void addTargetCallbackInvocationChains(Map<Operation<?>,InboundInvocationChain> chains)
void addTargetCallbackInvocationChain(Operation<?> operation, InboundInvocationChain chain)
void setTargetWire(InboundWire wire)
|
Apache Tuscany SCA Kernel Sub-Project | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |