public interface TInvocation
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the invocation capability on Tamino.
|
TUri |
getDatabaseUri()
Gets the database uri of this invocation.
|
TCommandStatement |
getLastExecutedCommandStatement()
Gets the last executed command statement!
|
long |
getLastNonActivityTimeoutRelevantInvokeTimeMillis()
Gets the time of the last invoke which is relevant for the nonActivityTimeout!
|
java.util.Locale |
getLocale()
Gets Locale
|
TPooledConnectionReconnectHandler |
getPooledConnectionReconnectHandler()
Gets the handler for automatic reconnects of pooled connections
|
int |
getSocketTimeout() |
TInputStream |
invoke(TCommandStatement commandStatement)
Invokes a specific command given by a TCommandStatement on an underlying Tamino database.
|
TInputStream |
invoke(TCommandStatement commandStatement,
java.lang.String collection)
Invokes a specific command given by a TCommandStatement on an underlying Tamino database.
|
TInputStream |
invoke(TCommandStatement commandStatement,
java.lang.String collection,
java.lang.String doctype,
java.lang.String docname)
Invokes a specific command given by a TCommandStatement on an underlying Tamino database.
|
boolean |
isClosed()
Indicates if the invocation is closed.
|
void |
setLocale(java.util.Locale locale)
Sets Locale
|
void |
setPooledConnectionReconnectHandler(TPooledConnectionReconnectHandler handler)
Sets the handler for automatic reconnects of pooled connections
|
void |
setSocketTimeout(int timeout)
This value indicates to use Tamino default values for the timeout parameters.
|
void |
setTransactionModeCoordinator(TTransactionModeCoordinator transactionModeCoordinator)
Sets a TTransactionModeCoordinator on the instance.
|
boolean |
supports(TCommand command)
Indicates if the given command is supported for invocation in the current state.
|
TInputStream invoke(TCommandStatement commandStatement) throws TInvocationException
commandStatement
- spcifies the concrete XML specific action that should be fullfilled.TInvocationException
- due to any problems that can occur when performing the
invocation on Tamino.TInputStream invoke(TCommandStatement commandStatement, java.lang.String collection) throws TInvocationException
commandStatement
- spcifies the concrete action that should be fullfilled.collection
- is the collection of the Tamino DB where the object is contained in.TInvocationException
- due to any problems that can occur when performing the
invocation on Tamino.TInputStream invoke(TCommandStatement commandStatement, java.lang.String collection, java.lang.String doctype, java.lang.String docname) throws TInvocationException
commandStatement
- spcifies the concrete action that should be fullfilled.collection
- is the collection of the Tamino DB where the object is contained in.doctype
- within a schema of a collection to which the statement is related.docname
- denotes the docname under which a specific document might be accessible.TInvocationException
- due to any problems that can occur when performing the
invocation on Tamino.boolean supports(TCommand command)
command
- is checked wheter it can be invoked the current state of the TInvocation instance.void setTransactionModeCoordinator(TTransactionModeCoordinator transactionModeCoordinator)
TTransactionModeCoordinator
- needed to update session state for session specific operations.void close() throws TInvocationException
TInvocationException
- due to any problems that can occur when performing the
invocation on Tamino.boolean isClosed()
TUri getDatabaseUri()
long getLastNonActivityTimeoutRelevantInvokeTimeMillis()
TCommandStatement getLastExecutedCommandStatement()
void setPooledConnectionReconnectHandler(TPooledConnectionReconnectHandler handler)
TPooledConnectionReconnectHandler getPooledConnectionReconnectHandler()
void setLocale(java.util.Locale locale)
java.util.Locale getLocale()
void setSocketTimeout(int timeout)
int getSocketTimeout()
Copyright (c) 2017 Software AG. All Rights Reserved.