|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RuntimeWire
The runtime wire interface that connects a component reference to a component service (or an external service) over the selected binding
| Method Summary | |
|---|---|
java.lang.Object |
clone()
|
InvocationChain |
getBindingInvocationChain()
Get the invocation chain for the binding-specific handling |
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 |
void |
rebuild()
Force the invocation chains to be rebuilt |
void |
setTarget(EndpointReference target)
Rebind the runtime wire with the given target |
| Method Detail |
|---|
EndpointReference getSource()
EndpointReference getTarget()
void setTarget(EndpointReference target)
target - The target endpoint referencevoid rebuild()
java.util.List<InvocationChain> getInvocationChains()
InvocationChain getInvocationChain(Operation operation)
operation - The operation
InvocationChain getBindingInvocationChain()
java.lang.Object invoke(Message msg)
throws java.lang.reflect.InvocationTargetException
msg - The message
java.lang.reflect.InvocationTargetException
java.lang.Object invoke(Operation operation,
java.lang.Object[] args)
throws java.lang.reflect.InvocationTargetException
operation - The operationargs - The arguments
java.lang.reflect.InvocationTargetException
java.lang.Object invoke(Operation operation,
Message msg)
throws java.lang.reflect.InvocationTargetException
operation - The operationmsg - The message
java.lang.reflect.InvocationTargetException
java.lang.Object clone()
throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||