|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Client
Field Summary | |
---|---|
static java.lang.String |
REQUEST_CONTEXT
|
static java.lang.String |
REQUEST_METHOD
|
static java.lang.String |
RESPONSE_CONTEXT
|
Method Summary | |
---|---|
void |
destroy()
Indicates that the client is no longer needed and that any resources it holds can now be freed. |
Conduit |
getConduit()
Get the Conduit that messages for this client will be sent on. |
ConduitSelector |
getConduitSelector()
Get the ConduitSelector responsible for retreiving the Conduit. |
Endpoint |
getEndpoint()
|
java.lang.Object[] |
invoke(BindingOperationInfo oi,
java.lang.Object... params)
Invokes an operation syncronously |
java.lang.Object[] |
invoke(BindingOperationInfo oi,
java.lang.Object[] params,
java.util.Map<java.lang.String,java.lang.Object> context)
Invokes an operation syncronously |
java.lang.Object[] |
invoke(javax.xml.namespace.QName operationName,
java.lang.Object... params)
Invokes an operation syncronously |
java.lang.Object[] |
invoke(java.lang.String operationName,
java.lang.Object... params)
Invokes an operation syncronously |
java.lang.Object[] |
invokeWrapped(javax.xml.namespace.QName operationName,
java.lang.Object... params)
Invokes an operation syncronously |
java.lang.Object[] |
invokeWrapped(java.lang.String operationName,
java.lang.Object... params)
Invokes an operation syncronously |
void |
setConduitSelector(ConduitSelector selector)
Set the ConduitSelector responsible for retreiving the Conduit. |
Methods inherited from interface org.apache.cxf.interceptor.InterceptorProvider |
---|
getInFaultInterceptors, getInInterceptors, getOutFaultInterceptors, getOutInterceptors |
Methods inherited from interface org.apache.cxf.transport.MessageObserver |
---|
onMessage |
Field Detail |
---|
static final java.lang.String REQUEST_CONTEXT
static final java.lang.String RESPONSE_CONTEXT
static final java.lang.String REQUEST_METHOD
Method Detail |
---|
java.lang.Object[] invoke(java.lang.String operationName, java.lang.Object... params) throws java.lang.Exception
operationName
- The name of the operation to be invoked. The service namespace will be used
when looking up the BindingOperationInfo.params
- The params that matches the parts of the input message of the operation. If the
BindingOperationInfo supports unwrapping, it assumes the params are in the "unwrapped" form. If
params are in the wrapped form, use invokeWrapped
java.lang.Exception
java.lang.Object[] invoke(javax.xml.namespace.QName operationName, java.lang.Object... params) throws java.lang.Exception
operationName
- The name of the operation to be invokedparams
- The params that matches the parts of the input message of the operation. If the
BindingOperationInfo supports unwrapping, it assumes the params are in the "unwrapped" form. If
params are in the wrapped form, use invokeWrapped
java.lang.Exception
java.lang.Object[] invokeWrapped(java.lang.String operationName, java.lang.Object... params) throws java.lang.Exception
operationName
- The name of the operation to be invoked. The service namespace will be used
when looking up the BindingOperationInfo.params
- The params that matches the parts of the input message of the operation
java.lang.Exception
java.lang.Object[] invokeWrapped(javax.xml.namespace.QName operationName, java.lang.Object... params) throws java.lang.Exception
operationName
- The name of the operation to be invokedparams
- The params that matches the parts of the input message of the operation
java.lang.Exception
java.lang.Object[] invoke(BindingOperationInfo oi, java.lang.Object... params) throws java.lang.Exception
oi
- The operation to be invokedparams
- The params that matches the parts of the input message of the operation
java.lang.Exception
java.lang.Object[] invoke(BindingOperationInfo oi, java.lang.Object[] params, java.util.Map<java.lang.String,java.lang.Object> context) throws java.lang.Exception
oi
- The operation to be invokedparams
- The params that matches the parts of the input message of the operationcontext
- Optional (can be null) contextual information for the invocation
java.lang.Exception
Endpoint getEndpoint()
Conduit getConduit()
ConduitSelector getConduitSelector()
void setConduitSelector(ConduitSelector selector)
selector
- the ConduitSelector to usevoid destroy()
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |