Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractSessionConfiguration - Class in org.tentackle.session
-
Base class for
BackendConfigurationandDriverConfiguration. - AbstractSessionConfiguration() - Constructor for class org.tentackle.session.AbstractSessionConfiguration
-
Parent constructor.
- AbstractSessionTask - Class in org.tentackle.session
-
A task being executed by the
SessionTaskDispatcher. - AbstractSessionTask() - Constructor for class org.tentackle.session.AbstractSessionTask
-
Parent constructor.
- add(MasterSerialEvent) - Method in class org.tentackle.session.MasterSerialListEvent
- addAll(Collection) - Method in class org.tentackle.session.MasterSerialListEvent
- addDeletion(Session, String, long, long) - Method in interface org.tentackle.session.ModificationTracker
-
Adds a deletion to the previously counted modifications.
- addModificationListener(ModificationListener) - Method in interface org.tentackle.session.ModificationTracker
-
Adds a modification listener.
- addShutdownRunnable(Runnable) - Method in interface org.tentackle.session.ModificationTracker
-
Registers a pure runnable to be executed if the pdo tracker is terminated due to severe errors.
- addTask(Task) - Method in class org.tentackle.session.DefaultSessionTaskDispatcher
-
Adds a task to the queue.
- afterClose(Session) - Method in interface org.tentackle.session.SessionCloseHandler
-
Invoked after closing.
- alignExceptionCause(Throwable) - Method in class org.tentackle.session.SessionUtilities
-
Replaces exception cause probably not in the jvm's classpath when the stacktrace gets deserialized in another (usually remote) jvm.
- alignTemporaryExceptionStatus(PersistenceException) - Method in class org.tentackle.session.SessionUtilities
-
Sets the temporary flag according to the exception's root cause and the session.
- AlreadyLoggedInException - Exception Class in org.tentackle.session
-
Exception thrown if the user is already logged in.
Usually for application servers that don't allow a user logged in more than once. - AlreadyLoggedInException(SessionInfo) - Constructor for exception class org.tentackle.session.AlreadyLoggedInException
-
Creates an
AlreadyLoggedInException. - AlreadyLoggedInException(Session, SessionInfo) - Constructor for exception class org.tentackle.session.AlreadyLoggedInException
-
Creates an
AlreadyLoggedInException. - applyProperties() - Method in class org.tentackle.session.DefaultSessionInfo
- applyProperties() - Method in interface org.tentackle.session.SessionInfo
-
Applies the properties to this session info.
Sets user, password, and application-name from properties, if given. - applyTo(Collection) - Method in interface org.tentackle.session.Session
-
Applies this session to a collection of session dependables.
- applyTo(SessionDependable) - Method in interface org.tentackle.session.Session
-
Applies this session to a session-dependable object.
The method must invokeobj.setSession()only if the session really differs. - assertCurrentSessionValid() - Static method in interface org.tentackle.session.Session
-
Asserts that a thread-local session is set.
- assertMutable() - Method in class org.tentackle.session.DefaultSessionInfo
-
Asserts that this session info is mutable.
- authenticate(Credentials) - Method in interface org.tentackle.session.auth.AuthenticationManager
-
Authenticates the credentials presented by a client.
- authenticate(Credentials) - Method in interface org.tentackle.session.auth.AuthenticationProvider
-
Authenticates the credentials.
- authenticate(Credentials) - Method in class org.tentackle.session.auth.DefaultAuthenticationManager
- Authentication - Interface in org.tentackle.session.auth
-
The proven identity of a client, i.e., the outcome of a successful authentication.
- AuthenticationException - Exception Class in org.tentackle.session.auth
-
Thrown by an
AuthenticationProviderthat vetoes the credentials it was given. - AuthenticationException(String) - Constructor for exception class org.tentackle.session.auth.AuthenticationException
-
Constructs a new authentication exception with the specified detail message.
- AuthenticationException(String, Throwable) - Constructor for exception class org.tentackle.session.auth.AuthenticationException
-
Constructs a new authentication exception with the specified detail message and cause.
- AuthenticationManager - Interface in org.tentackle.session.auth
-
Drives the chain of
AuthenticationProviders. - AuthenticationProvider - Interface in org.tentackle.session.auth
-
Verifies
Credentialson the server side.
B
- BackendConfiguration - Class in org.tentackle.session
-
Configuration for a database backend.
The configuration is stored via the standardPreferencesand provides the parameters necessary to connect to the database backend.
The config refers to aDriverConfigurationthat loads the corresponding driver. - BackendConfiguration(String, String, String, String, DriverConfiguration, String, String) - Constructor for class org.tentackle.session.BackendConfiguration
-
Creates a backend configuration.
- beforeClose(Session) - Method in interface org.tentackle.session.SessionCloseHandler
-
Invoked before closing.
- begin() - Method in interface org.tentackle.session.Session
-
Starts a transaction.
Does nothing if a transaction is already running! - begin(String) - Method in interface org.tentackle.session.Session
-
Starts a transaction.
Does nothing if a transaction is already running! - begin(String, TransactionIsolation, TransactionWritability) - Method in interface org.tentackle.session.Session
-
Starts a transaction.
Does nothing if a transaction is already running! - browse(URI) - Method in interface org.tentackle.session.auth.CredentialsPrompt
-
Opens the given URI in the user's browser.
- browse(URI) - Method in class org.tentackle.session.auth.DefaultCredentialsPrompt
C
- checkServerVersion(String) - Method in class org.tentackle.session.DefaultSessionInfo
- checkServerVersion(String) - Method in interface org.tentackle.session.SessionInfo
-
Checks the version of the server.
- ClassId - Annotation Interface in org.tentackle.session
-
Annotation for the class id of a persistent object.
- cleanup() - Method in class org.tentackle.session.DefaultSessionTaskDispatcher
- cleanup() - Method in class org.tentackle.session.SessionKeepAliveDaemon
- clear() - Method in interface org.tentackle.session.auth.Credentials
-
Clears all confidential parts.
Will remove them from memory by overwriting the corresponding arrays. - clear() - Method in class org.tentackle.session.auth.PasswordCredentials
- clear() - Method in class org.tentackle.session.auth.Secret
-
Clears the value.
Removes it from memory by overwriting each element of the array. - clear() - Method in class org.tentackle.session.auth.TokenCredentials
- clearCloned() - Method in class org.tentackle.session.DefaultSessionInfo
- clearCloned() - Method in interface org.tentackle.session.SessionInfo
-
Clears the cloned flag.
Useful if the session-info should no longer be treated as cloned. - clearCurrent() - Method in interface org.tentackle.session.Session
-
Clears the current session if this session is current.
- clearPassword() - Method in class org.tentackle.session.DefaultSessionInfo
- clearPassword() - Method in interface org.tentackle.session.SessionInfo
-
Clears the password.
Will remove it from memory by overwriting each element in the character array. - clearProperties() - Method in interface org.tentackle.session.Session
-
Removes all session properties.
- clone() - Method in interface org.tentackle.session.auth.Credentials
-
Clones the credentials.
Confidential parts are physically copied, since they may be cleared later. - clone() - Method in class org.tentackle.session.auth.PasswordCredentials
- clone() - Method in class org.tentackle.session.auth.Secret
-
Clones the secret.
The value is physically copied, since it may be cleared later. - clone() - Method in class org.tentackle.session.auth.TokenCredentials
- clone() - Method in class org.tentackle.session.DefaultSessionInfo
-
Clones a session-info.
The credentials are cloned, i.e., their secrets are physically copied.
The properties are cloned as well.
Cloned session infos are mutable by default and have no sessionName. - clone() - Method in interface org.tentackle.session.SessionInfo
-
Clones a session-info.
The password will be copied if not null. - clone(String) - Method in interface org.tentackle.session.Session
-
Clones a session.
If the session is closed, a PersistenceException is thrown.
The cloned session will always be non-grouped. - close() - Method in interface org.tentackle.session.Session
-
Close a session.
Closing an already closed session is okay and ignored.
If this session is the root of a session group, all grouped sessions will be ungrouped. - close(SessionInfo) - Method in interface org.tentackle.session.MultiUserSessionPool
-
Closes all sessions currently open for given session info.
Useful to force logout for a user.
It is not an error if there were no open sessions for the session info at all. - comment() - Element in annotation interface org.tentackle.session.Persistent
-
Optional comment.
- commit(long) - Method in interface org.tentackle.session.Session
-
Commits a transaction if the corresponding
Session.begin()has started it. - component() - Element in annotation interface org.tentackle.session.Persistent
-
Returns whether this is a component of the PDO.
This is true for all members/attributes and component relations. - ConstraintException - Exception Class in org.tentackle.session
-
Runtime exception thrown for database constraint violations.
- ConstraintException() - Constructor for exception class org.tentackle.session.ConstraintException
-
Constructs a new database constraint exception without a session and with
nullas its detail message. - ConstraintException(String) - Constructor for exception class org.tentackle.session.ConstraintException
-
Constructs a new database constraint exception without a session with the specified detail message.
- ConstraintException(String, Throwable) - Constructor for exception class org.tentackle.session.ConstraintException
-
Constructs a new database constraint exception without a session with the specified detail message and cause.
- ConstraintException(Identifiable) - Constructor for exception class org.tentackle.session.ConstraintException
-
Constructs a new database constraint violation exception for a given pc object with
nullas its detail message. - ConstraintException(Identifiable, String) - Constructor for exception class org.tentackle.session.ConstraintException
-
Constructs a new database constraint violation exception for a given session with the specified detail message.
- ConstraintException(Identifiable, String, Throwable) - Constructor for exception class org.tentackle.session.ConstraintException
-
Constructs a new database constraint violation exception for a given session with the specified detail message and cause.
- ConstraintException(Identifiable, Throwable) - Constructor for exception class org.tentackle.session.ConstraintException
-
Constructs a new database constraint violation exception for a given session with the specified cause and a detail message of
(cause==null ? - ConstraintException(Session) - Constructor for exception class org.tentackle.session.ConstraintException
-
Constructs a new database constraint violation exception for a given session with
nullas its detail message. - ConstraintException(Session, String) - Constructor for exception class org.tentackle.session.ConstraintException
-
Constructs a new database constraint violation exception for a given session with the specified detail message.
- ConstraintException(Session, String, Throwable) - Constructor for exception class org.tentackle.session.ConstraintException
-
Constructs a new database constraint violation exception for a given session with the specified detail message and cause.
- ConstraintException(Session, Throwable) - Constructor for exception class org.tentackle.session.ConstraintException
-
Constructs a new database constraint violation exception for a given session with the specified cause and a detail message of
(cause==null ? - countModification(Session, String) - Method in interface org.tentackle.session.ModificationTracker
-
Counts the modification for a given name.
Used to trigger modification events. - create() - Method in class org.tentackle.session.DefaultSessionInfoFactory
- create() - Method in interface org.tentackle.session.SessionFactory
-
Creates a session with the default session info.
- create() - Method in interface org.tentackle.session.SessionInfoFactory
-
Creates a session-info from the default properties holding the connection parameters.
- create(String) - Method in class org.tentackle.session.DefaultSessionInfoFactory
- create(String) - Method in interface org.tentackle.session.SessionInfoFactory
-
Creates a session-info from a property file holding the connection parameters.
- create(String, char[], String) - Method in class org.tentackle.session.DefaultSessionInfoFactory
- create(String, char[], String) - Method in interface org.tentackle.session.SessionInfoFactory
-
Creates a session-info from a username, password, and property file holding the connection parameters.
- create(String, Session, int, int, int, int, long, long) - Method in interface org.tentackle.session.SessionPoolFactory
-
Creates a single-user session pool.
- create(String, Session, int, int, long, long) - Method in interface org.tentackle.session.SessionPoolFactory
-
Creates a multi-user session pool.
- create(EncryptedProperties) - Method in class org.tentackle.session.DefaultSessionInfoFactory
- create(EncryptedProperties) - Method in interface org.tentackle.session.SessionInfoFactory
-
Creates a session-info from properties.
- create(SessionInfo) - Method in interface org.tentackle.session.SessionFactory
-
Creates a session.
- create(SessionPool, SessionInfo) - Method in interface org.tentackle.session.SessionFactory
-
Creates a session for a pool.
Notice that this method is provided forSessionPoolimplementations only. - createAliveCallable() - Method in class org.tentackle.session.SessionKeepAliveTask
-
Creates the alive callable.
- createAliveTask(Session, long) - Method in class org.tentackle.session.SessionKeepAliveDaemon
-
Creates a keep-alive task.
- createCloseCallable() - Method in class org.tentackle.session.SessionKeepAliveTask
-
Creates the close callable.
- createCredentials(SessionInfo, CredentialsPrompt) - Method in interface org.tentackle.session.auth.CredentialsProvider
-
Creates the credentials to log in with.
- createCredentials(SessionInfo, CredentialsPrompt) - Method in class org.tentackle.session.auth.PasswordCredentialsProvider
- createExecutorService() - Method in class org.tentackle.session.SessionKeepAliveDaemon
-
Creates the executor service.
- createExecutorService() - Method in class org.tentackle.session.SessionPooledExecutor
-
Creates the executor service.
For unlimited session pools the thread pool will also be unlimited, and the number of threads will be adjusted automatically. - createKeepAliveDaemon() - Method in class org.tentackle.session.SessionUtilities
-
Creates the session keep alive daemon.
- createLazyExceptionMessage(String, Throwable, Identifiable, Session) - Method in class org.tentackle.session.SessionUtilities
-
Creates the lazy exception message for a
PersistenceException. - createLock(Object) - Method in class org.tentackle.session.DefaultSessionTaskDispatcher
- createThread(Runnable) - Method in class org.tentackle.session.SessionPooledExecutor
-
Creates a new thread.
- createThreadGroup() - Method in class org.tentackle.session.SessionPooledExecutor
-
Creates the thread group of the threads in the pool.
- Credentials - Interface in org.tentackle.session.auth
-
The credentials presented by a client to prove its identity.
- CredentialsExpiredException - Exception Class in org.tentackle.session.auth
-
Thrown when the credentials were valid but have expired.
- CredentialsExpiredException(String) - Constructor for exception class org.tentackle.session.auth.CredentialsExpiredException
-
Constructs a new credentials expired exception with the specified detail message.
- CredentialsExpiredException(String, Throwable) - Constructor for exception class org.tentackle.session.auth.CredentialsExpiredException
-
Constructs a new credentials expired exception with the specified detail message and cause.
- CredentialsPrompt - Interface in org.tentackle.session.auth
-
The user interaction a
CredentialsProvidermay need while obtaining credentials. - CredentialsProvider - Interface in org.tentackle.session.auth
-
Obtains the
Credentialson the client side, before the session is opened. - CredentialsProviderService - Annotation Interface in org.tentackle.session.auth
-
Annotation to express that the annotated class is an implementation of a
CredentialsProvider.
D
- dataChanged(ModificationEvent) - Method in interface org.tentackle.session.ModificationListener
-
Invoked whenever an instance of the given class has changed.
- DEFAULT - Enum constant in enum class org.tentackle.session.TransactionIsolation
-
Default transaction isolation.
Usually READ_COMMITTED. - DEFAULT - Enum constant in enum class org.tentackle.session.TransactionWritability
-
Default transaction writability.
Usually READ_WRITE. - DEFAULT_TOKEN_TYPE - Static variable in class org.tentackle.session.auth.TokenCredentials
-
the default token type.
- DefaultAuthentication - Class in org.tentackle.session.auth
-
The default implementation of an
Authentication. - DefaultAuthentication() - Constructor for class org.tentackle.session.auth.DefaultAuthentication
-
Creates an empty authentication.
Required by TRIP, should an application send an authentication to a client. - DefaultAuthentication(String, Credentials) - Constructor for class org.tentackle.session.auth.DefaultAuthentication
-
Creates an authentication.
- DefaultAuthenticationManager - Class in org.tentackle.session.auth
-
The default authentication manager.
- DefaultAuthenticationManager() - Constructor for class org.tentackle.session.auth.DefaultAuthenticationManager
-
Creates an authentication manager.
Collects all AuthenticationProvider services. - DefaultAuthenticationManager(List) - Constructor for class org.tentackle.session.auth.DefaultAuthenticationManager
-
Creates an authentication manager for an explicit chain.
Useful for applications that wire their providers themselves, and for tests. - DefaultCredentialsPrompt - Class in org.tentackle.session.auth
-
The credentials prompt for applications without a graphical user interface.
- DefaultCredentialsPrompt() - Constructor for class org.tentackle.session.auth.DefaultCredentialsPrompt
-
Creates the prompt.
- DefaultMasterSerialEventHandlerFactory - Class in org.tentackle.session
-
The default master serial event handler factory.
- DefaultMasterSerialEventHandlerFactory() - Constructor for class org.tentackle.session.DefaultMasterSerialEventHandlerFactory
-
Creates the factory.
- DefaultSessionInfo - Class in org.tentackle.session
-
The default implementation for a session-info.
- DefaultSessionInfo() - Constructor for class org.tentackle.session.DefaultSessionInfo
-
Creates a session-info from the default properties file.
The property file's name is"backend". - DefaultSessionInfo(String) - Constructor for class org.tentackle.session.DefaultSessionInfo
-
Creates a session-info from a property file holding the connection parameters.
- DefaultSessionInfo(String, char[], String) - Constructor for class org.tentackle.session.DefaultSessionInfo
-
Creates a session-info from an optional username, optional password, and a property file holding the connection parameters.
- DefaultSessionInfo(EncryptedProperties) - Constructor for class org.tentackle.session.DefaultSessionInfo
-
Creates a session from properties.
- DefaultSessionInfoFactory - Class in org.tentackle.session
-
Default session info factory.
- DefaultSessionInfoFactory() - Constructor for class org.tentackle.session.DefaultSessionInfoFactory
-
Creates the session info factory.
- DefaultSessionTaskDispatcher - Class in org.tentackle.session
-
A thread executing tasks in a serialized manner on an exclusive connection.
- DefaultSessionTaskDispatcher(String) - Constructor for class org.tentackle.session.DefaultSessionTaskDispatcher
-
Creates a dispatcher to be configured later.
- DefaultSessionTaskDispatcher(String, Session, boolean, long, long) - Constructor for class org.tentackle.session.DefaultSessionTaskDispatcher
-
Creates an execution thread for a given session.
The session must not be used by any other thread! - determineClassId(Class) - Method in class org.tentackle.session.SessionUtilities
-
Determines the class id from the @
ClassIdannotation. - determineTablename(Class) - Method in class org.tentackle.session.SessionUtilities
-
Determines the tablename from the @
TableNameannotation. - discoverProviders() - Static method in class org.tentackle.session.auth.DefaultAuthenticationManager
-
Collects all authentication providers along the classpath.
- DriverConfiguration - Class in org.tentackle.session
-
Configuration for a backend driver.
The configuration is stored via the standardPreferencesand provides the parameters necessary to load the driver. - DriverConfiguration(String, String, String) - Constructor for class org.tentackle.session.DriverConfiguration
-
Creates a driver configuration.
E
- equals(Object) - Method in class org.tentackle.session.BackendConfiguration
- equals(Object) - Method in class org.tentackle.session.DefaultSessionInfo
-
Session infos are equal if they belong to the same user, i.e. if their usernames are equal.
- equals(Object) - Method in class org.tentackle.session.DriverConfiguration
- equals(Object) - Method in class org.tentackle.session.ModificationEventDetail
- equals(Object) - Method in record class org.tentackle.session.SavepointHandle
-
Indicates whether some other object is "equal to" this one.
- evaluate() - Method in exception class org.tentackle.session.PersistenceException
-
Evaluates the message for
PersistenceException.getMessage().
Used to evaluate the message text within transactions if the logging happens later when the transaction is already rolled back or the exception is logged at the remote side. - ExclusiveSessionProvider - Interface in org.tentackle.session
-
An exclusive session provider.
- extractPersistenceException(Throwable) - Static method in exception class org.tentackle.session.PersistenceException
-
Extracts the
PersistenceExceptionfrom an exception.
G
- get() - Method in class org.tentackle.session.auth.Secret
-
Gets the value.
- get(SessionInfo) - Method in interface org.tentackle.session.MultiUserSessionPool
-
Gets a session from the pool for given session info.
- getApplication() - Method in class org.tentackle.session.BackendConfiguration
-
Gets the application name.
- getApplicationId() - Method in class org.tentackle.session.DefaultSessionInfo
- getApplicationId() - Method in interface org.tentackle.session.SessionInfo
-
Returns the application id.
- getApplicationName() - Method in class org.tentackle.session.DefaultSessionInfo
- getApplicationName() - Method in interface org.tentackle.session.SessionInfo
-
Gets the name of the application.
- getAttributes() - Method in interface org.tentackle.session.auth.Authentication
-
Gets the attributes describing the principal.
- getAttributes() - Method in class org.tentackle.session.auth.DefaultAuthentication
- getBackendConfigurations(String, boolean) - Static method in class org.tentackle.session.BackendConfiguration
-
Loads all backend configurations for a given application.
- getBundle() - Static method in class org.tentackle.session.SessionBundle
-
Gets the bundle.
- getCause() - Method in exception class org.tentackle.session.AlreadyLoggedInException
- getClassId(String) - Method in class org.tentackle.session.SessionUtilities
-
Gets the class id of a pdo class.
- getClassName(int) - Method in class org.tentackle.session.SessionUtilities
-
Gets the classname for a class id.
- getClassName(String) - Method in class org.tentackle.session.SessionUtilities
-
Gets the classname for tablename.
- getClassNames() - Method in class org.tentackle.session.SessionUtilities
-
Gets a list of all class names.
Sorted by name. - getClientSessionInfo() - Method in interface org.tentackle.session.RemoteSession
-
Gets the client session info.
- getClientVersion() - Method in class org.tentackle.session.DefaultSessionInfo
- getClientVersion() - Method in interface org.tentackle.session.SessionInfo
-
Gets the client version.
- getClientVersion() - Method in exception class org.tentackle.session.VersionIncompatibleException
-
Gets the client's version.
- getCredentials() - Method in interface org.tentackle.session.auth.Authentication
-
Gets the credentials that were verified.
- getCredentials() - Method in class org.tentackle.session.auth.DefaultAuthentication
- getCredentials() - Method in class org.tentackle.session.DefaultSessionInfo
- getCredentials() - Method in interface org.tentackle.session.SessionInfo
-
Gets the credentials to authenticate with.
- getCurrentSession() - Static method in interface org.tentackle.session.Session
-
Gets the session used by the current thread.
- getDefault(String, boolean) - Static method in class org.tentackle.session.BackendConfiguration
-
Gets the default backend configuration.
- getDefaultScopes() - Method in class org.tentackle.session.AbstractSessionConfiguration
- getDetail(String) - Method in class org.tentackle.session.ModificationEvent
-
Gets the modification detail for a name.
- getDetails() - Method in class org.tentackle.session.ModificationEvent
-
Gets the modification details.
Master events provide no details, so listeners can iterate the result unconditionally. - getDispatcher() - Method in interface org.tentackle.session.Session
-
Gets the dispatcher for this session.
The dispatcher can be used to submit asynchronous tasks serially. - getDriver() - Method in class org.tentackle.session.BackendConfiguration
-
Gets the driver configuration.
- getDriver() - Method in class org.tentackle.session.DriverConfiguration
-
Sets the driver's classname.
- getDriverConfigurations(boolean) - Static method in class org.tentackle.session.DriverConfiguration
-
Loads all driver configurations.
- getEventHandler(Class) - Method in class org.tentackle.session.DefaultMasterSerialEventHandlerFactory
- getEventHandler(Class) - Method in interface org.tentackle.session.MasterSerialEventHandlerFactory
-
Gets the event handler for a master serial event class.
The handler is simply aConsumerof aMasterSerialEventand must be stateless. - getExecutorService() - Method in class org.tentackle.session.SessionKeepAliveDaemon
-
Gets the executor service.
- getExecutorService() - Method in class org.tentackle.session.SessionPooledExecutor
-
Gets the executor service.
- getExpiresAt() - Method in interface org.tentackle.session.auth.Authentication
-
Gets the epochal time this authentication expires.
- getExpiresAt() - Method in class org.tentackle.session.auth.DefaultAuthentication
- getExpiresAt() - Method in class org.tentackle.session.auth.TokenCredentials
-
Gets the epochal time the token expires.
- getHandler(Class) - Method in class org.tentackle.session.DefaultMasterSerialEventHandlerFactory
- getHostInfo() - Method in class org.tentackle.session.DefaultSessionInfo
- getHostInfo() - Method in interface org.tentackle.session.SessionInfo
-
Gets the host info.
- getIdentifiable() - Method in exception class org.tentackle.session.PersistenceException
-
Gets the persistent object.
- getIdSerialForClass(Class) - Method in interface org.tentackle.session.ModificationTracker
-
Gets the serial for a given class.
- getIdSerialForName(String) - Method in interface org.tentackle.session.ModificationTracker
-
Gets the pair of id/serial for a given modification name.
Used in remote connections. - getImmutableLoggingLevel() - Method in class org.tentackle.session.DefaultSessionInfo
- getInstance() - Static method in interface org.tentackle.session.auth.AuthenticationManager
-
Gets the authentication manager singleton.
- getInstance() - Static method in interface org.tentackle.session.auth.UserResolver
-
Gets the optional application-specific user resolver singleton.
- getInstance() - Static method in interface org.tentackle.session.MasterSerialEventHandlerFactory
-
The singleton.
- getInstance() - Static method in interface org.tentackle.session.ModificationTracker
-
The tracker singleton.
- getInstance() - Static method in interface org.tentackle.session.SessionFactory
-
The singleton.
- getInstance() - Static method in interface org.tentackle.session.SessionInfoFactory
-
The singleton.
- getInstance() - Static method in interface org.tentackle.session.SessionPoolFactory
-
The singleton.
- getInstance() - Static method in class org.tentackle.session.SessionUtilities
-
The singleton.
- getInstance(String) - Static method in interface org.tentackle.session.auth.CredentialsProvider
-
Gets the credentials provider for an authentication method.
- getInstance(SessionInfo) - Static method in interface org.tentackle.session.auth.CredentialsProvider
-
Gets the credentials provider configured for a session.
Determined by the "authentication" key of the session's properties. - getInstanceNumber() - Method in interface org.tentackle.session.Session
-
Gets the unique instance number of this Session.
- getIssuer() - Method in class org.tentackle.session.auth.TokenCredentials
-
Gets the issuer that minted the token.
- getKeepAliveInterval() - Method in interface org.tentackle.session.Session
-
Gets the auto keep-alive interval.
- getKeepAliveSessions() - Method in class org.tentackle.session.SessionKeepAliveDaemon
-
Gets the sessions currently kept alive.
Useful to hand the registrations over to another daemon, should this one have died. - getLevel() - Method in enum class org.tentackle.session.TransactionIsolation
-
Gets the low-level isolation level constant.
- getLocale() - Method in class org.tentackle.session.DefaultSessionInfo
- getLocale() - Method in interface org.tentackle.session.SessionInfo
-
Gets the session's locale.
Returns the JVM's default locale if not set explicitly viaSessionInfo.setLocale(java.util.Locale). - getLoginInfo() - Method in exception class org.tentackle.session.AlreadyLoggedInException
-
Gets the application session info.
- getLogLevel() - Method in exception class org.tentackle.session.LoginFailedException
- getMaximumSize() - Method in interface org.tentackle.session.MultiUserSessionPool
-
Gets the maximum pool size per session info.
- getMaximumTotalSize() - Method in interface org.tentackle.session.MultiUserSessionPool
-
Gets the maximum pool size for all sessions.
- getMessage() - Method in exception class org.tentackle.session.AlreadyLoggedInException
- getMessage() - Method in exception class org.tentackle.session.PersistenceException
- getMethods() - Static method in interface org.tentackle.session.auth.CredentialsProvider
-
Gets the names of all configured authentication methods.
- getName() - Method in class org.tentackle.session.AbstractSessionConfiguration
-
Gets the symbolic name.
- getName() - Method in interface org.tentackle.session.auth.Authentication
-
Gets the name of the authenticated principal.
- getName() - Method in interface org.tentackle.session.auth.AuthenticationProvider
-
Gets the name of this provider.
Used for logging and to tell in anAuthenticationwho authenticated it. - getName() - Method in class org.tentackle.session.auth.DefaultAuthentication
- getName() - Method in class org.tentackle.session.ModificationEvent
-
Gets the modification name of the first detail.
- getName() - Method in class org.tentackle.session.ModificationEventDetail
-
Gets the modification name.
- getName() - Method in interface org.tentackle.session.MultiUserSessionPool
-
Gets the name of this pool.
- getName() - Method in interface org.tentackle.session.Session
-
Gets the session's name.
- getNames() - Method in interface org.tentackle.session.ModificationListener
-
Gets the names to listen to.
- getNames() - Method in class org.tentackle.session.ModificationListenerAdapter
- getOptions() - Method in class org.tentackle.session.BackendConfiguration
-
Gets other options.
Each option goes into a separate line. - getOsInfo() - Method in class org.tentackle.session.DefaultSessionInfo
- getOsInfo() - Method in interface org.tentackle.session.SessionInfo
-
Gets the operating system info.
- getOwnerThread() - Method in interface org.tentackle.session.Session
-
Gets the owner thread.
- getParameters() - Method in class org.tentackle.session.auth.TokenCredentials
-
Gets the additional parameters.
Useful to pass along non-confidential extras, such as the tenant or the requested scope. - getPassword() - Method in class org.tentackle.session.auth.PasswordCredentials
-
Gets the password.
- getPassword() - Method in class org.tentackle.session.BackendConfiguration
-
Gets the optional password.
- getPassword() - Method in class org.tentackle.session.DefaultSessionInfo
- getPassword() - Method in interface org.tentackle.session.SessionInfo
-
Gets the password.
- getPersistedSerial() - Method in exception class org.tentackle.session.NotFoundException
-
Gets the effective serial of the object persisted in the database.
- getPrefNode(String, boolean) - Static method in class org.tentackle.session.AbstractSessionConfiguration
-
Gets the configuration parent node.
- getPriority() - Method in interface org.tentackle.session.auth.AuthenticationProvider
-
Gets the priority determining the position in the provider chain.
Providers with a lower value are asked first. - getPriority() - Method in interface org.tentackle.session.ModificationListener
-
Gets the execution priority.
Determines the order of execution. - getPriority() - Method in class org.tentackle.session.ModificationListenerAdapter
- getProperties() - Method in class org.tentackle.session.DefaultSessionInfo
-
Gets the connection properties.
The properties are not set so far, the method will load the properties file by adding the extension".properties"toSessionInfo.getPropertiesName()(if it does not contain an extension already).
If there is no such file, the properties will be read as a resource according to the classpath.
If all fails, aPersistenceExceptionis thrown. - getProperties() - Method in interface org.tentackle.session.SessionInfo
-
Gets the connection properties.
The properties are not set so far, the method will load the properties file by adding the extension".properties"toSessionInfo.getPropertiesName()(if it does not contain an extension already).
If there is no such file, the properties will be read as a resource according to the classpath.
If all fails, aPersistenceExceptionis thrown. - getPropertiesName() - Method in class org.tentackle.session.DefaultSessionInfo
- getPropertiesName() - Method in interface org.tentackle.session.SessionInfo
-
Gets the name of the property file.
- getProperty(String) - Method in interface org.tentackle.session.Session
-
Gets a session property.
- getProviderName() - Method in interface org.tentackle.session.auth.Authentication
-
Gets the name of the provider that authenticated the credentials.
- getProviderName() - Method in class org.tentackle.session.auth.DefaultAuthentication
- getProviders() - Method in interface org.tentackle.session.auth.AuthenticationManager
-
Gets the provider chain in the order it is asked.
- getProviders() - Method in class org.tentackle.session.auth.DefaultAuthenticationManager
- getRefreshToken() - Method in class org.tentackle.session.auth.TokenCredentials
-
Gets the refresh token.
- getRemoteSession() - Method in interface org.tentackle.session.Session
-
Gets the remote session.
- getRemoteSessionPool() - Method in interface org.tentackle.session.SessionPoolProvider
-
Gets the session pool for remote sessions.
- getRoles() - Method in interface org.tentackle.session.auth.Authentication
-
Gets the roles or groups asserted by the identity provider.
- getRoles() - Method in class org.tentackle.session.auth.DefaultAuthentication
- getScheme() - Method in interface org.tentackle.session.auth.Credentials
-
Gets the name of the authentication scheme these credentials belong to.
- getScheme() - Method in class org.tentackle.session.auth.PasswordCredentials
- getScheme() - Method in class org.tentackle.session.auth.TokenCredentials
- getSerial() - Method in class org.tentackle.session.ModificationEvent
-
Gets the modification serial of the first detail or master.
- getSerial() - Method in class org.tentackle.session.ModificationEventDetail
-
Gets the modification serial.
- getServerVersion() - Method in exception class org.tentackle.session.VersionIncompatibleException
-
Gets the server's version.
- getSession() - Method in class org.tentackle.session.AbstractSessionTask
-
Gets the db the runnable must use.
- getSession() - Method in class org.tentackle.session.DefaultSessionTaskDispatcher
- getSession() - Method in class org.tentackle.session.ModificationEvent
-
Gets the session.
- getSession() - Method in exception class org.tentackle.session.PersistenceException
-
Gets the session.
- getSession() - Static method in interface org.tentackle.session.Session
-
Gets the thread-local session.
- getSession() - Method in interface org.tentackle.session.SessionHolder
-
Gets the session.
The thread-local session is returned if the session is null. - getSession() - Method in interface org.tentackle.session.SessionProvider
-
Gets the session.
- getSession() - Method in interface org.tentackle.session.SessionTaskDispatcher
-
Gets the session.
- getSession() - Method in class org.tentackle.session.SessionTaskDispatcherLock
-
Gets the session associated with this lock.
- getSession() - Method in class org.tentackle.session.ThreadLocalSessionHolder
- getSessionGroupId() - Method in interface org.tentackle.session.Session
-
Gets the session's group ID.
The session group is unique for sessions with the same URL. - getSessionGroupId() - Method in interface org.tentackle.session.SessionPool
-
Gets the session group id.
- getSessionId() - Method in interface org.tentackle.session.Session
-
Gets the session ID.
Session IDs are unique for sessions with the same URL.
For remote sessions, the ID is the same as the one used in remote server. - getSessionInfo() - Method in interface org.tentackle.session.Session
-
Gets the current session info.
- getSessionInfo() - Method in interface org.tentackle.session.SessionHolder
-
Gets the session info associated with the session.
- getSessionInfo() - Method in interface org.tentackle.session.SessionPool
-
Gets the session info.
- getSessionInfo() - Method in class org.tentackle.session.ThreadLocalSessionHolder
- getSessionInstanceNumber() - Method in interface org.tentackle.session.SessionHolder
-
Gets the unique instance number of the Session.
- getSessionInstanceNumber() - Method in class org.tentackle.session.ThreadLocalSessionHolder
- getSessionName() - Method in class org.tentackle.session.DefaultSessionInfo
- getSessionName() - Method in interface org.tentackle.session.SessionInfo
-
Gets the optional session name.
- getSessionPool() - Method in class org.tentackle.session.SessionPooledExecutor
-
Gets the session pool.
- getSessionPool() - Method in interface org.tentackle.session.SessionPoolProvider
-
Gets the session pool for local sessions.
- getSince() - Method in class org.tentackle.session.DefaultSessionInfo
- getSince() - Method in interface org.tentackle.session.SessionInfo
-
Gets the epochal time since when logged in.
- getSize() - Method in interface org.tentackle.session.MultiUserSessionPool
-
Gets the current number of session instances.
- getString(String) - Static method in class org.tentackle.session.SessionBundle
-
Gets a string for the given key.
- getTableName(String) - Method in class org.tentackle.session.SessionUtilities
-
Gets the table name of a pdo class.
- getTaskDispatcher() - Method in class org.tentackle.session.SessionTaskDispatcherLock
- getThreadGroup() - Method in class org.tentackle.session.SessionPooledExecutor
-
Gets the thread group for the thread pool.
- getThreadPoolSize() - Method in class org.tentackle.session.SessionPooledExecutor
-
Gets the size of the thread pool.
The default implementation returns the maximum size of the session pool.
If the session pool is unlimited, the thread pool will be unlimited too.
Override this method if sizes differ.
Caution: using an unlimited or larger thread pool with a limited or smaller session pool will cause an exception when all sessions are in use! - getTimeDelay() - Method in interface org.tentackle.session.ModificationListener
-
Gets the optional delay to fire the event.
Allows collecting events for multiple names within an interval.
If both timeFrame and timeDelay are given, the delay is treated as an offset to the frame. - getTimeDelay() - Method in class org.tentackle.session.ModificationListenerAdapter
- getTimeFrame() - Method in interface org.tentackle.session.ModificationListener
-
Gets the optional execution time frame in milliseconds.
If given, the listener will be executed at a random time within the time frame. - getTimeFrame() - Method in class org.tentackle.session.ModificationListenerAdapter
- getTimeZone() - Method in class org.tentackle.session.DefaultSessionInfo
- getTimeZone() - Method in interface org.tentackle.session.SessionInfo
-
Gets the timezone.
- getToken() - Method in class org.tentackle.session.auth.TokenCredentials
-
Gets the token.
- getTokenType() - Method in class org.tentackle.session.auth.TokenCredentials
-
Gets the token type.
- getTxLevel() - Method in interface org.tentackle.session.Session
-
Gets the transaction nesting level.
- getTxName() - Method in interface org.tentackle.session.Session
-
Gets the transaction name if a transaction is currently running.
- getTxNumber() - Method in interface org.tentackle.session.Session
-
Gets the current transaction number.
Transaction numbers are unique per session. - getUrl() - Method in class org.tentackle.session.BackendConfiguration
-
Gets the host- or service url.
- getUrl() - Method in class org.tentackle.session.DriverConfiguration
-
Gets the url to load the driver.
- getUrl() - Method in interface org.tentackle.session.Session
-
Gets the connection url.
- getUser() - Method in class org.tentackle.session.BackendConfiguration
-
Gets the optional username.
- getUserClassId() - Method in interface org.tentackle.session.auth.Authentication
-
Gets the class id of the authenticated user.
- getUserClassId() - Method in class org.tentackle.session.auth.DefaultAuthentication
- getUserClassId() - Method in class org.tentackle.session.DefaultSessionInfo
- getUserClassId() - Method in interface org.tentackle.session.SessionInfo
-
Gets the class id of the current user.
- getUserId() - Method in interface org.tentackle.session.auth.Authentication
-
Gets the object id of the authenticated user.
- getUserId() - Method in class org.tentackle.session.auth.DefaultAuthentication
- getUserId() - Method in class org.tentackle.session.DefaultSessionInfo
- getUserId() - Method in interface org.tentackle.session.SessionInfo
-
Gets the user id.
- getUserName() - Method in class org.tentackle.session.auth.PasswordCredentials
-
Gets the username.
- getUserName() - Method in class org.tentackle.session.DefaultSessionInfo
- getUserName() - Method in interface org.tentackle.session.SessionInfo
-
Gets the username.
- getVmInfo() - Method in class org.tentackle.session.DefaultSessionInfo
- getVmInfo() - Method in interface org.tentackle.session.SessionInfo
-
Gets the info string describing the JVM.
- getWritable() - Method in enum class org.tentackle.session.TransactionWritability
-
Gets the low-level writable boolean value.
- groupWith(int) - Method in interface org.tentackle.session.Session
-
Assigns this session to another session building a session group.
If the referenced session already belongs to a group, this session will be added to that group.
H
- hashCode() - Method in class org.tentackle.session.BackendConfiguration
- hashCode() - Method in class org.tentackle.session.DefaultSessionInfo
- hashCode() - Method in class org.tentackle.session.DriverConfiguration
- hashCode() - Method in class org.tentackle.session.ModificationEventDetail
- hashCode() - Method in record class org.tentackle.session.SavepointHandle
-
Returns a hash code value for this object.
I
- id() - Method in record class org.tentackle.session.SavepointHandle
-
Returns the value of the
idrecord component. - invalidate() - Method in interface org.tentackle.session.ModificationTracker
-
Invalidates the tracker.
Forces the tracking info to be rebuilt. - isAlive() - Method in interface org.tentackle.session.Session
-
Checks whether the session is still in use.
- isCanceled() - Method in interface org.tentackle.session.auth.CredentialsPrompt
-
Returns whether the user canceled the login.
Long-running interactions should poll this and give up when it turns true. - isCanceled() - Method in class org.tentackle.session.auth.DefaultCredentialsPrompt
- isCleared() - Method in class org.tentackle.session.auth.Secret
-
Returns whether the value has been cleared.
- isCloned() - Method in class org.tentackle.session.DefaultSessionInfo
- isCloned() - Method in interface org.tentackle.session.SessionInfo
-
Checks whether this session info is cloned.
- isCurrent() - Method in interface org.tentackle.session.Session
-
Returns whether this session is the thread's local current session.
- isExpired() - Method in class org.tentackle.session.auth.TokenCredentials
-
Returns whether the token is expired according to
TokenCredentials.getExpiresAt(). - isFinallyImmutable() - Method in class org.tentackle.session.DefaultSessionInfo
- isImmutable() - Method in class org.tentackle.session.DefaultSessionInfo
- isInteractive() - Method in interface org.tentackle.session.auth.CredentialsProvider
-
Returns whether obtaining the credentials requires an interaction with the user.
- isLocalClientMode() - Method in interface org.tentackle.session.ModificationTracker
-
Returns whether the tracker runs in local client mode.
In this mode, there is no middle-tier server and the clients are directly connected to the database.
Although this mode isn't recommended, it is an option for simple desktop applications with only very few parallel users. - isLockLingerEnabled() - Method in class org.tentackle.session.DefaultSessionInfo
- isLockLingerEnabled() - Method in interface org.tentackle.session.SessionInfo
-
Determines whether token-locks are removed when the session is closed.
By default, locks are not removed for cloned sessions. - isMasterEvent() - Method in class org.tentackle.session.ModificationEvent
-
Returns whether this is a master event.
Master events provide no details. - isMultiEvent() - Method in class org.tentackle.session.ModificationEvent
-
Returns whether this a multi-named event.
- isMultiLineExceptionMessage(String, Throwable, Identifiable, Session) - Method in class org.tentackle.session.SessionUtilities
-
Returns whether the exception message spans multiple lines.
- isOverridingEvent(MasterSerialEvent) - Method in interface org.tentackle.session.MasterSerialEvent
-
Returns whether this event is overriding given an older event.
The method is only invoked ifMasterSerialEvent.isOverridingOlderEvents()returns true. - isOverridingOlderEvents() - Method in interface org.tentackle.session.MasterSerialEvent
-
Returns whether only the latest event counts.
Useful for events that contain status information or alike. - isPasswordCleared() - Method in class org.tentackle.session.auth.PasswordCredentials
-
Returns whether the password has been cleared.
- isPasswordSet() - Method in class org.tentackle.session.auth.PasswordCredentials
-
Returns whether a password is set.
- isPersisted() - Method in class org.tentackle.session.AbstractSessionConfiguration
-
Returns whether the configuration is loaded from preferences.
- isPooled() - Method in interface org.tentackle.session.Session
-
Checks whether this session is pooled.
- isRemote() - Method in interface org.tentackle.session.Session
-
Gets the persistence locality of this session.
Sessions may refer to persistence layers not running in the current JVM. - isSessionClosedOnTermination() - Method in class org.tentackle.session.DefaultSessionTaskDispatcher
- isSessionClosedOnTermination() - Method in interface org.tentackle.session.SessionTaskDispatcher
-
Returns whether the session should be closed on termination.
- isSessionImmutable() - Method in class org.tentackle.session.AbstractSessionTask
- isSessionImmutable() - Method in interface org.tentackle.session.SessionDependable
-
Returns whether the session is immutable.
- isSessionImmutable() - Method in interface org.tentackle.session.SessionHolder
-
Returns whether the session is immutable.
- isSessionImmutable() - Method in class org.tentackle.session.ThreadLocalSessionHolder
- isSessionKeptAlive() - Method in class org.tentackle.session.DefaultSessionTaskDispatcher
- isSessionKeptAlive() - Method in interface org.tentackle.session.SessionTaskDispatcher
-
Gets the keepalive flag.
- isSessionThreadLocal() - Method in interface org.tentackle.session.SessionHolder
-
Returns whether the session is thread-local.
- isSessionThreadLocal() - Method in class org.tentackle.session.ThreadLocalSessionHolder
- isSet() - Method in class org.tentackle.session.auth.Secret
-
Returns whether a value is set.
- isShutdown() - Method in interface org.tentackle.session.MultiUserSessionPool
-
Returns whether the pool is shutdown.
- isSilentRollbackSufficient(Throwable) - Method in class org.tentackle.session.SessionUtilities
-
Returns whether a rollback should log all statements or not.
The rollback should not be logged if the root-cause is not aPersistenceException, orTentackleRuntimeException.isTemporary()or there is another temporary exception in the exception chain. - isSingleEvent() - Method in class org.tentackle.session.ModificationEvent
-
Returns whether this is a named single event.
- isTxRunning() - Method in interface org.tentackle.session.Session
-
Determines whether a transaction is currently running.
K
- keepAliveIntervalChanged(Session) - Method in class org.tentackle.session.SessionKeepAliveDaemon
-
Handles the change of a keep alive-interval of a session.
- keepAliveIntervalChanged(Session) - Method in class org.tentackle.session.SessionUtilities
-
Handles the change of a keep alive interval of a session.
L
- loadProperties(String) - Method in class org.tentackle.session.DefaultSessionInfo
-
Loads the properties.
- log(String, Logger.Level, String) - Method in interface org.tentackle.session.RemoteSession
-
Logs a message at the server-side.
- log(Logger.Level, String) - Method in interface org.tentackle.session.RemoteSession
-
Logs a message at the server-side.
Uses the static logger of the remote session implementation class. - LoginFailedException - Exception Class in org.tentackle.session
-
TRIP servers should throw LoginFailedException if authentication fails (or any other reason)
- LoginFailedException() - Constructor for exception class org.tentackle.session.LoginFailedException
-
Constructs a new login failed exception without a session and with
nullas its detail message. - LoginFailedException(String) - Constructor for exception class org.tentackle.session.LoginFailedException
-
Constructs a new login failed exception without a session with the specified detail message.
- LoginFailedException(String, Throwable) - Constructor for exception class org.tentackle.session.LoginFailedException
-
Constructs a new login failed exception without a session with the specified detail message and cause.
- LoginFailedException(Identifiable) - Constructor for exception class org.tentackle.session.LoginFailedException
-
Constructs a new login failed exception for a given
Identifiable. - LoginFailedException(Identifiable, String) - Constructor for exception class org.tentackle.session.LoginFailedException
-
Constructs a new login failed exception for a given session with the specified detail message.
- LoginFailedException(Identifiable, String, Throwable) - Constructor for exception class org.tentackle.session.LoginFailedException
-
Constructs a new login failed exception for a given session with the specified detail message and cause.
- LoginFailedException(Identifiable, Throwable) - Constructor for exception class org.tentackle.session.LoginFailedException
-
Constructs a new login failed exception for a given session with the specified cause and a detail message of
(cause==null ? - LoginFailedException(Session) - Constructor for exception class org.tentackle.session.LoginFailedException
-
Constructs a new login failed exception for a given session with
nullas its detail message. - LoginFailedException(Session, String) - Constructor for exception class org.tentackle.session.LoginFailedException
-
Constructs a new login failed exception for a given session with the specified detail message.
- LoginFailedException(Session, String, Throwable) - Constructor for exception class org.tentackle.session.LoginFailedException
-
Constructs a new login failed exception for a given session with the specified detail message and cause.
- LoginFailedException(Session, Throwable) - Constructor for exception class org.tentackle.session.LoginFailedException
-
Constructs a new login failed exception for a given session with the specified cause and a detail message of
(cause==null ? - logStatistics(Logger.Level, boolean) - Method in interface org.tentackle.session.RemoteSession
-
Logs the TRIP-statistics at the server-side.
Uses the static logger of the remote session implementation class.
M
- makeCurrent() - Method in interface org.tentackle.session.Session
-
Makes this session the current session for this thread.
- mapSchema() - Element in annotation interface org.tentackle.session.TableName
-
Determines whether schemas are allowed or mapped to simple table names.
If true, table names like "md.blah" are mapped to "md_blah". - MasterSerial - Interface in org.tentackle.session
-
Wraps the master serial used by the
ModificationTracker.
The tracker of a remote client periodically requests the master serial from the server. - MasterSerialEvent - Interface in org.tentackle.session
-
Interface for a master serial event.
Such events can be sent from the server to the client via theModificationTracker. - MasterSerialEventHandlerFactory - Interface in org.tentackle.session
-
Factory for
MasterSerialEvent-handlers. - MasterSerialEventService - Annotation Interface in org.tentackle.session
- MasterSerialListEvent - Class in org.tentackle.session
-
A master serial event containing a list of events.
This event type is used whenever there is more than one event pending for the client. - MasterSerialListEvent() - Constructor for class org.tentackle.session.MasterSerialListEvent
-
Creates an empty list event.
- MasterSerialListEvent(Collection) - Constructor for class org.tentackle.session.MasterSerialListEvent
-
Creates an event holding a list of events.
- ModificationEvent - Class in org.tentackle.session
-
Modification event.
- ModificationEvent(Session, long) - Constructor for class org.tentackle.session.ModificationEvent
-
Creates a modification master event.
- ModificationEvent(Session, Collection) - Constructor for class org.tentackle.session.ModificationEvent
-
Creates a modification event.
- ModificationEventDetail - Class in org.tentackle.session
-
Holds the event detail.
- ModificationEventDetail(String, long) - Constructor for class org.tentackle.session.ModificationEventDetail
-
Creates an event detail.
- ModificationListener - Interface in org.tentackle.session
-
Listener for modifications.
- ModificationListenerAdapter - Class in org.tentackle.session
-
A modification listener adapter.
- ModificationListenerAdapter() - Constructor for class org.tentackle.session.ModificationListenerAdapter
-
Creates a listener for any modification.
- ModificationListenerAdapter(String...) - Constructor for class org.tentackle.session.ModificationListenerAdapter
-
Creates a listener for the given modification names.
- ModificationTracker - Interface in org.tentackle.session
-
Tracks global PDO changes.
- MultiUserSessionPool - Interface in org.tentackle.session
-
A pool of sessions for multiple session infos.
Allows different users to use multiple sessions in parallel.
N
- name() - Method in record class org.tentackle.session.SavepointHandle
-
Returns the value of the
namerecord component. - NONE - Enum constant in enum class org.tentackle.session.TransactionIsolation
-
Transactions are not supported at all.
- NotFoundException - Exception Class in org.tentackle.session
-
Runtime exception thrown if objects that should exist are not found in the database.
- NotFoundException() - Constructor for exception class org.tentackle.session.NotFoundException
-
Constructs a new database object not found exception without a session and with
nullas its detail message. - NotFoundException(String) - Constructor for exception class org.tentackle.session.NotFoundException
-
Constructs a new database object not found exception without a session with the specified detail message.
- NotFoundException(String, Throwable) - Constructor for exception class org.tentackle.session.NotFoundException
-
Constructs a new database object not found exception without a session with the specified detail message and cause.
- NotFoundException(Identifiable) - Constructor for exception class org.tentackle.session.NotFoundException
-
Constructs a new database object not found exception for a given pc object with
nullas its detail message. - NotFoundException(Identifiable, String) - Constructor for exception class org.tentackle.session.NotFoundException
-
Constructs a new database object not found exception for a given session with the specified detail message.
- NotFoundException(Identifiable, String, long) - Constructor for exception class org.tentackle.session.NotFoundException
-
Constructs a new database object not found exception for a given session with the specified detail message.
- NotFoundException(Identifiable, String, Throwable) - Constructor for exception class org.tentackle.session.NotFoundException
-
Constructs a new database object not found exception for a given session with the specified detail message and cause.
- NotFoundException(Identifiable, Throwable) - Constructor for exception class org.tentackle.session.NotFoundException
-
Constructs a new database object not found exception for a given session with the specified cause and a detail message of
(cause==null ? - NotFoundException(Session) - Constructor for exception class org.tentackle.session.NotFoundException
-
Constructs a new database object not found exception for a given session with
nullas its detail message. - NotFoundException(Session, String) - Constructor for exception class org.tentackle.session.NotFoundException
-
Constructs a new database object not found exception for a given session with the specified detail message.
- NotFoundException(Session, String, Throwable) - Constructor for exception class org.tentackle.session.NotFoundException
-
Constructs a new database object not found exception for a given session with the specified detail message and cause.
- NotFoundException(Session, Throwable) - Constructor for exception class org.tentackle.session.NotFoundException
-
Constructs a new database object not found exception for a given session with the specified cause and a detail message of
(cause==null ? - NotRemovableException - Exception Class in org.tentackle.session
-
Runtime exception thrown for not-removables.
- NotRemovableException() - Constructor for exception class org.tentackle.session.NotRemovableException
-
Constructs a new database constraint exception without a session and with
nullas its detail message. - NotRemovableException(String) - Constructor for exception class org.tentackle.session.NotRemovableException
-
Constructs a new database constraint exception without a session with the specified detail message.
- NotRemovableException(String, Throwable) - Constructor for exception class org.tentackle.session.NotRemovableException
-
Constructs a new database constraint exception without a session with the specified detail message and cause.
- NotRemovableException(Identifiable) - Constructor for exception class org.tentackle.session.NotRemovableException
-
Constructs a new not-removable exception for a given pc object with
nullas its detail message. - NotRemovableException(Identifiable, String) - Constructor for exception class org.tentackle.session.NotRemovableException
-
Constructs a new not-removable exception for a given session with the specified detail message.
- NotRemovableException(Identifiable, String, Throwable) - Constructor for exception class org.tentackle.session.NotRemovableException
-
Constructs a new not-removable exception for a given session with the specified detail message and cause.
- NotRemovableException(Identifiable, Throwable) - Constructor for exception class org.tentackle.session.NotRemovableException
-
Constructs a new not-removable exception for a given session with the specified cause and a detail message of
(cause==null ? - NotRemovableException(Session) - Constructor for exception class org.tentackle.session.NotRemovableException
-
Constructs a new not-removable exception for a given session with
nullas its detail message. - NotRemovableException(Session, String) - Constructor for exception class org.tentackle.session.NotRemovableException
-
Constructs a new not-removable exception for a given session with the specified detail message.
- NotRemovableException(Session, String, Throwable) - Constructor for exception class org.tentackle.session.NotRemovableException
-
Constructs a new not-removable exception for a given session with the specified detail message and cause.
- NotRemovableException(Session, Throwable) - Constructor for exception class org.tentackle.session.NotRemovableException
-
Constructs a new not-removable exception for a given session with the specified cause and a detail message of
(cause==null ?
O
- ordinal() - Element in annotation interface org.tentackle.session.Persistent
-
Gets the ordinal according to the model.
Used to order the attributes and relations when analyzed via reflection. - org.tentackle.session - module org.tentackle.session
-
tentackle-session module.
- org.tentackle.session - package org.tentackle.session
-
The low-level core of sessions, persistent objects and operations.
- org.tentackle.session.auth - package org.tentackle.session.auth
-
Pluggable authentication.
P
- parent() - Element in annotation interface org.tentackle.session.Persistent
-
Returns whether this is the relation to the parent PDO.
The parent PDO provides a composite relation to this PDO. - PasswordCredentials - Class in org.tentackle.session.auth
-
The traditional username and password credentials.
- PasswordCredentials() - Constructor for class org.tentackle.session.auth.PasswordCredentials
-
Creates empty password credentials.
Also required by TRIP to deserialize the credentials on the server. - PasswordCredentials(String, char[]) - Constructor for class org.tentackle.session.auth.PasswordCredentials
-
Creates password credentials.
- PasswordCredentialsProvider - Class in org.tentackle.session.auth
-
The built-in username/password credentials provider.
- PasswordCredentialsProvider() - Constructor for class org.tentackle.session.auth.PasswordCredentialsProvider
-
Creates the provider.
- persist(boolean) - Method in class org.tentackle.session.BackendConfiguration
-
Persists this configuration.
- persist(boolean) - Method in class org.tentackle.session.DriverConfiguration
-
Persists this configuration.
- PersistenceException - Exception Class in org.tentackle.session
-
Database runtime exception.
- PersistenceException() - Constructor for exception class org.tentackle.session.PersistenceException
-
Constructs a new database runtime exception without a session or identifiable and with
nullas its detail message. - PersistenceException(String) - Constructor for exception class org.tentackle.session.PersistenceException
-
Constructs a new database runtime exception without a session or identifiable for the specified detail message.
- PersistenceException(String, Throwable) - Constructor for exception class org.tentackle.session.PersistenceException
-
Constructs a new database runtime exception without a session or identifiable with the specified detail message and cause.
- PersistenceException(Throwable) - Constructor for exception class org.tentackle.session.PersistenceException
-
Constructs a new database runtime exception without a session or identifiable with the specified cause and a detail message of
(cause==null ? - PersistenceException(Identifiable) - Constructor for exception class org.tentackle.session.PersistenceException
-
Constructs a new database runtime exception for a given
Identifiablewithnullas its detail message. - PersistenceException(Identifiable, String) - Constructor for exception class org.tentackle.session.PersistenceException
-
Constructs a new database runtime exception for a given
Identifiablewith the specified detail message. - PersistenceException(Identifiable, String, Throwable) - Constructor for exception class org.tentackle.session.PersistenceException
-
Constructs a new database runtime exception for a given
Identifiablewith the specified detail message and cause. - PersistenceException(Identifiable, Throwable) - Constructor for exception class org.tentackle.session.PersistenceException
-
Constructs a new database runtime exception for a given
Identifiablewith the specified cause and a detail message of(cause==null ? - PersistenceException(Session) - Constructor for exception class org.tentackle.session.PersistenceException
-
Constructs a new database runtime exception for a given session with
nullas its detail message. - PersistenceException(Session, String) - Constructor for exception class org.tentackle.session.PersistenceException
-
Constructs a new database runtime exception for a given session with the specified detail message.
- PersistenceException(Session, String, Throwable) - Constructor for exception class org.tentackle.session.PersistenceException
-
Constructs a new database runtime exception for a given session with the specified detail message and cause.
- PersistenceException(Session, Throwable) - Constructor for exception class org.tentackle.session.PersistenceException
-
Constructs a new database runtime exception for a given session with the specified cause and a detail message of
(cause==null ? - Persistent - Annotation Interface in org.tentackle.session
-
Persistent fields and methods are annotated with this annotation.
- postCommit(Consumer) - Method in interface org.tentackle.session.Session
-
Registers a post-commit.
Post-commits are invoked after the successful physical commit of a transaction. - preCommit(Consumer) - Method in interface org.tentackle.session.Session
-
Registers a pre-commit.
Pre-commits are invoked immediately before the physical commit of a transaction. - prefix() - Element in annotation interface org.tentackle.session.TableName
-
Adds a prefix to the tablename or schema.
- preloadRemoteDelegates() - Method in interface org.tentackle.session.Session
-
Preloads the remote delegates of the entities marked as preload candidates.
- promptSecret(String) - Method in interface org.tentackle.session.auth.CredentialsPrompt
-
Asks the user for a confidential input, such as a device code or a one-time password.
- promptSecret(String) - Method in class org.tentackle.session.auth.DefaultCredentialsPrompt
- put(Session) - Method in interface org.tentackle.session.MultiUserSessionPool
-
Returns a session to the pool.
Returning a closed session will remove it from the pool.
R
- READ_COMMITTED - Enum constant in enum class org.tentackle.session.TransactionIsolation
-
Dirty reads are prevented, non-repeatable reads and phantom reads can occur.
- READ_ONLY - Enum constant in enum class org.tentackle.session.TransactionWritability
-
Read-only transaction.
- READ_UNCOMMITTED - Enum constant in enum class org.tentackle.session.TransactionIsolation
-
Dirty reads, non-repeatable reads, and phantom reads can occur.
- READ_WRITE - Enum constant in enum class org.tentackle.session.TransactionWritability
-
Read-write transaction.
- refresh(Credentials) - Method in interface org.tentackle.session.auth.CredentialsProvider
-
Renews expired credentials.
- registerCloseHandler(SessionCloseHandler) - Method in interface org.tentackle.session.Session
-
Registers a close handler.
- registerGlobalCloseHandler(SessionCloseHandler) - Method in interface org.tentackle.session.SessionFactory
-
Registers a global close handler for all sessions.
- releaseSavepoint(SavepointHandle) - Method in interface org.tentackle.session.Session
-
Removes the specified
Savepointand subsequentSavepointobjects from the current transaction. - releaseSession(Session) - Method in interface org.tentackle.session.ExclusiveSessionProvider
-
Releases the session.
- RemoteSession - Interface in org.tentackle.session
-
The remote session.
Provides access to the remote (server-side) client session. - remove(boolean) - Method in class org.tentackle.session.BackendConfiguration
-
Removes this configuration.
- remove(boolean) - Method in class org.tentackle.session.DriverConfiguration
-
Removes this configuration.
- removeAliveTask(Session) - Method in class org.tentackle.session.SessionKeepAliveDaemon
-
Removes the task for the given session.
- removeAliveTask(Session, Task) - Method in class org.tentackle.session.SessionKeepAliveDaemon
-
Removes the given task for the given session.
- removeBackendConfigurations(String, boolean) - Static method in class org.tentackle.session.BackendConfiguration
-
Removes all backend configurations for the given application.
- removeDriverConfigurations(boolean) - Static method in class org.tentackle.session.DriverConfiguration
-
Removes all driver configurations.
- removeModificationListener(ModificationListener) - Method in interface org.tentackle.session.ModificationTracker
-
Removes a modification listener.
- removeShutdownRunnable(Runnable) - Method in interface org.tentackle.session.ModificationTracker
-
Unregisters a shutdown runnable.
- reOpen() - Method in interface org.tentackle.session.Session
-
Re-opens a session.
If the session is open, it will be closed first.
If the session belongs to a group, the re-opened session will be grouped as well. - REPEATABLE_READ - Enum constant in enum class org.tentackle.session.TransactionIsolation
-
Dirty reads and non-repeatable reads are prevented, phantom reads can occur.
- requestSession() - Method in interface org.tentackle.session.ExclusiveSessionProvider
-
Requests a session for exclusive use.
- resolveUser(Authentication) - Method in class org.tentackle.session.auth.DefaultAuthenticationManager
-
Determines the application's user for a proven identity.
- resolveUser(Authentication) - Method in interface org.tentackle.session.auth.UserResolver
-
Resolves the application's user for a proven identity.
- rollback(long) - Method in interface org.tentackle.session.Session
-
Rolls back a transaction if the corresponding
Session.begin()has started it.
The rollback is logged as INFO along with all statements. - rollback(SavepointHandle) - Method in interface org.tentackle.session.Session
-
Undoes all changes made after the given
Savepointobject was set. - rollbackModification(Session, long) - Method in interface org.tentackle.session.ModificationTracker
-
Invoked whenever a transaction is rolled back.
Allows the tracker to adjust the pending counts. - rollbackSilently(long) - Method in interface org.tentackle.session.Session
-
Rolls back a transaction if the corresponding
Session.begin()has started it.
Same asSession.rollback(long)but without logging. - run() - Method in class org.tentackle.session.DefaultSessionTaskDispatcher
- run() - Method in class org.tentackle.session.SessionKeepAliveDaemon
- run() - Method in class org.tentackle.session.SessionKeepAliveTask
S
- SavepointHandle - Record Class in org.tentackle.session
-
A savepoint handle.
- SavepointHandle(int) - Constructor for record class org.tentackle.session.SavepointHandle
-
Creates a handle for an unnamed savepoint.
- SavepointHandle(String) - Constructor for record class org.tentackle.session.SavepointHandle
-
Creates a handle for a named savepoint.
- SavepointHandle(String, Integer) - Constructor for record class org.tentackle.session.SavepointHandle
-
Creates an instance of a
SavepointHandlerecord class. - SCHEME - Static variable in class org.tentackle.session.auth.PasswordCredentials
-
the scheme name of password credentials.
- SCHEME - Static variable in class org.tentackle.session.auth.TokenCredentials
-
the scheme name of token credentials.
- Secret - Class in org.tentackle.session.auth
-
A confidential character sequence, such as a password or an access token.
- Secret() - Constructor for class org.tentackle.session.auth.Secret
-
Creates an unset secret.
- Secret(char[]) - Constructor for class org.tentackle.session.auth.Secret
-
Creates a secret.
- serial() - Method in interface org.tentackle.session.MasterSerial
-
Gets the serial value.
- serial() - Method in class org.tentackle.session.MasterSerialListEvent
- SERIALIZABLE - Enum constant in enum class org.tentackle.session.TransactionIsolation
-
Dirty reads, non-repeatable reads, and phantom reads are prevented.
- Session - Interface in org.tentackle.session
-
The session.
Describes a persistence and security context. - SessionBundle - Class in org.tentackle.session
-
Bundle for the session module.
- SessionClosedException - Exception Class in org.tentackle.session
-
Runtime exception thrown if the session is already closed.
- SessionClosedException() - Constructor for exception class org.tentackle.session.SessionClosedException
-
Constructs a new database session closed exception without a session and with
nullas its detail message. - SessionClosedException(String) - Constructor for exception class org.tentackle.session.SessionClosedException
-
Constructs a new database session closed exception without a session with the specified detail message.
- SessionClosedException(String, Throwable) - Constructor for exception class org.tentackle.session.SessionClosedException
-
Constructs a new database session closed exception without a session with the specified detail message and cause.
- SessionClosedException(Identifiable) - Constructor for exception class org.tentackle.session.SessionClosedException
-
Constructs a new database session closed exception for a given pc object with
nullas its detail message. - SessionClosedException(Identifiable, String) - Constructor for exception class org.tentackle.session.SessionClosedException
-
Constructs a new database session closed exception for a given session with the specified detail message.
- SessionClosedException(Identifiable, String, Throwable) - Constructor for exception class org.tentackle.session.SessionClosedException
-
Constructs a new database session closed exception for a given session with the specified detail message and cause.
- SessionClosedException(Identifiable, Throwable) - Constructor for exception class org.tentackle.session.SessionClosedException
-
Constructs a new database session closed exception for a given session with the specified cause and a detail message of
(cause==null ? - SessionClosedException(Session) - Constructor for exception class org.tentackle.session.SessionClosedException
-
Constructs a new database session closed exception for a given session with
nullas its detail message. - SessionClosedException(Session, String) - Constructor for exception class org.tentackle.session.SessionClosedException
-
Constructs a new database session closed exception for a given session with the specified detail message.
- SessionClosedException(Session, String, Throwable) - Constructor for exception class org.tentackle.session.SessionClosedException
-
Constructs a new database session closed exception for a given session with the specified detail message and cause.
- SessionClosedException(Session, Throwable) - Constructor for exception class org.tentackle.session.SessionClosedException
-
Constructs a new database session closed exception for a given session with the specified cause and a detail message of
(cause==null ? - SessionCloseHandler - Interface in org.tentackle.session
-
A handler invoked whenever a Session is closed.
- SessionDependable - Interface in org.tentackle.session
-
Interface for objects depending on sessions.
- SessionFactory - Interface in org.tentackle.session
-
Factory for
Sessions. - SessionHolder - Interface in org.tentackle.session
-
Holder for a session.
- SessionInfo - Interface in org.tentackle.session
-
Session information.
- SessionInfoFactory - Interface in org.tentackle.session
-
Factory for
SessionInfo. - SessionKeepAliveDaemon - Class in org.tentackle.session
-
A task dispatcher to keep sessions alive.
- SessionKeepAliveDaemon(long) - Constructor for class org.tentackle.session.SessionKeepAliveDaemon
-
Creates the daemon.
- SessionKeepAliveTask - Class in org.tentackle.session
-
The task to keep a session alive.
The task uses theExecutorServiceto spawn asynchronous pings. - SessionKeepAliveTask(SessionKeepAliveDaemon, Session, long, long) - Constructor for class org.tentackle.session.SessionKeepAliveTask
-
Creates a keep alive task.
- SessionPool - Interface in org.tentackle.session
-
A pool of sessions for a given session-info.
Allows a single user to use multiple sessions in parallel. - SessionPooledExecutor - Class in org.tentackle.session
-
Executes runnables on a pool of sessions.
Useful to run background tasks in parallel, each task with its own session. - SessionPooledExecutor(SessionPool) - Constructor for class org.tentackle.session.SessionPooledExecutor
-
Creates the executor service for a session pool.
- SessionPoolFactory - Interface in org.tentackle.session
-
Factory for session pools.
- SessionPoolProvider - Interface in org.tentackle.session
-
Provider for local or remote session pools.
- SessionProvider - Interface in org.tentackle.session
-
Session provider.
- SessionTaskDispatcher - Interface in org.tentackle.session
-
A TaskDispatcher using a Session.
- SessionTaskDispatcherLock - Class in org.tentackle.session
-
Lock for the DefaultSessionTaskDispatcher.
- SessionTaskDispatcherLock(DefaultSessionTaskDispatcher, Object) - Constructor for class org.tentackle.session.SessionTaskDispatcherLock
-
Creates a dispatcher lock.
- SessionUtilities - Class in org.tentackle.session
-
Utility methods for session-related stuff.
- SessionUtilities() - Constructor for class org.tentackle.session.SessionUtilities
-
Creates a utility instance.
- SessionValidationUtilities - Class in org.tentackle.session
-
Extended validation utilities.
Honors the field- and method-order by using the ordinal of thePersistent-annotation, which is generated according to the model's definition.
As a result, the validators are invoked by priority + position in the source code. - SessionValidationUtilities() - Constructor for class org.tentackle.session.SessionValidationUtilities
-
Creates the validation utilities.
- set(char[]) - Method in class org.tentackle.session.auth.Secret
-
Sets the value.
- setAlive(boolean) - Method in interface org.tentackle.session.Session
-
Sets the session's alive-state.
- setApplication(String) - Method in class org.tentackle.session.BackendConfiguration
-
Sets the application name.
- setApplicationId(long) - Method in class org.tentackle.session.DefaultSessionInfo
- setApplicationId(long) - Method in interface org.tentackle.session.SessionInfo
-
Sets the application id.
Should be unique among the same application name. - setApplicationName(String) - Method in class org.tentackle.session.DefaultSessionInfo
- setApplicationName(String) - Method in interface org.tentackle.session.SessionInfo
-
Sets the name of the application.
- setClientVersion(String) - Method in class org.tentackle.session.DefaultSessionInfo
- setClientVersion(String) - Method in interface org.tentackle.session.SessionInfo
-
Sets the client's version.
- setCredentials(Credentials) - Method in class org.tentackle.session.DefaultSessionInfo
- setCredentials(Credentials) - Method in interface org.tentackle.session.SessionInfo
-
Sets the credentials to authenticate with.
- setCurrentSession(Session) - Static method in interface org.tentackle.session.Session
-
Sets the session used by the current thread.
The session is stored asThreadLocal. - setDefault(BackendConfiguration, String, boolean) - Static method in class org.tentackle.session.BackendConfiguration
-
Sets the default backend configuration.
- setDriver(String) - Method in class org.tentackle.session.DriverConfiguration
-
Gets the driver's classname.
- setDriver(DriverConfiguration) - Method in class org.tentackle.session.BackendConfiguration
-
Sets the driver configuration.
- setExpiresAt(long) - Method in class org.tentackle.session.auth.DefaultAuthentication
-
Sets the epochal time this authentication expires.
- setExpiresAt(long) - Method in class org.tentackle.session.auth.TokenCredentials
-
Sets the epochal time the token expires.
- setFinallyImmutable() - Method in class org.tentackle.session.DefaultSessionInfo
- setHostInfo(String) - Method in class org.tentackle.session.DefaultSessionInfo
- setHostInfo(String) - Method in interface org.tentackle.session.SessionInfo
-
Sets the host info.
- setImmutable(boolean) - Method in class org.tentackle.session.DefaultSessionInfo
- setImmutableLoggingLevel(Logger.Level) - Method in class org.tentackle.session.DefaultSessionInfo
- setIssuer(String) - Method in class org.tentackle.session.auth.TokenCredentials
-
Sets the issuer that minted the token.
- setKeepAliveInterval(long) - Method in interface org.tentackle.session.Session
-
Sets the auto keep-alive interval.
If set, the session will be setAlive all keepAliveInterval milliseconds by theSessionKeepAliveDaemon. - setLocale(Locale) - Method in class org.tentackle.session.DefaultSessionInfo
- setLocale(Locale) - Method in interface org.tentackle.session.SessionInfo
-
Sets the session's locale.
- setLockLingerEnabled(boolean) - Method in class org.tentackle.session.DefaultSessionInfo
- setLockLingerEnabled(boolean) - Method in interface org.tentackle.session.SessionInfo
-
Sets whether token-locks are removed when the session is closed.
- setName(String) - Method in class org.tentackle.session.AbstractSessionConfiguration
-
Sets the symbolic name.
- setOptions(String) - Method in class org.tentackle.session.BackendConfiguration
-
Sets the options.
- setOsInfo(String) - Method in class org.tentackle.session.DefaultSessionInfo
- setOsInfo(String) - Method in interface org.tentackle.session.SessionInfo
-
Sets the operating system info.
- setOwnerThread(Thread) - Method in interface org.tentackle.session.Session
-
Sets the exclusive owner thread.
- setPassword(char[]) - Method in class org.tentackle.session.auth.PasswordCredentials
-
Sets the password.
- setPassword(char[]) - Method in class org.tentackle.session.DefaultSessionInfo
- setPassword(char[]) - Method in interface org.tentackle.session.SessionInfo
-
Sets the password.
Replaces the current credentials byPasswordCredentials. - setPassword(String) - Method in class org.tentackle.session.BackendConfiguration
-
Sets the password.
- setPersisted(boolean) - Method in class org.tentackle.session.AbstractSessionConfiguration
-
Sets whether the configuration is loaded from preferences.
- setProgress(double) - Method in interface org.tentackle.session.auth.CredentialsPrompt
-
Reports the progress of an ongoing interaction.
- setProgress(double) - Method in class org.tentackle.session.auth.DefaultCredentialsPrompt
- setProperties(EncryptedProperties) - Method in class org.tentackle.session.DefaultSessionInfo
- setProperties(EncryptedProperties) - Method in interface org.tentackle.session.SessionInfo
-
Sets the connection properties.
- setPropertiesName(String) - Method in class org.tentackle.session.DefaultSessionInfo
- setPropertiesName(String) - Method in interface org.tentackle.session.SessionInfo
-
Sets the name of the property file.
(without the extension.properties) - setProperty(String, T) - Method in interface org.tentackle.session.Session
-
Sets a session property.
Session properties are application-specific.
For remote sessions, the properties are delegated to the corresponding local session at the remote side. - setProviderName(String) - Method in class org.tentackle.session.auth.DefaultAuthentication
-
Sets the name of the provider that authenticated the credentials.
- setRefreshToken(char[]) - Method in class org.tentackle.session.auth.TokenCredentials
-
Sets the refresh token.
- setSavepoint() - Method in interface org.tentackle.session.Session
-
Creates an unnamed savepoint in the current transaction.
- setSavepoint(String) - Method in interface org.tentackle.session.Session
-
Creates a savepoint with the given name in the current transaction.
- setSerial(long) - Method in interface org.tentackle.session.MasterSerialEvent
-
Sets the serial value.
- setSerial(long) - Method in class org.tentackle.session.MasterSerialListEvent
- setSession(Session) - Method in class org.tentackle.session.AbstractSessionTask
-
Sets the db.
Done bySessionTaskDispatcher. - setSession(Session) - Method in class org.tentackle.session.DefaultSessionTaskDispatcher
- setSession(Session) - Method in interface org.tentackle.session.SessionDependable
-
Sets the logical session for this object.
- setSession(Session) - Method in interface org.tentackle.session.SessionHolder
-
Sets the session.
- setSession(Session) - Method in interface org.tentackle.session.SessionTaskDispatcher
-
Sets the session.
- setSession(Session) - Method in class org.tentackle.session.ThreadLocalSessionHolder
- setSessionClosedOnTermination(boolean) - Method in class org.tentackle.session.DefaultSessionTaskDispatcher
- setSessionClosedOnTermination(boolean) - Method in interface org.tentackle.session.SessionTaskDispatcher
-
Sets whether the session should be closed on termination.
- setSessionImmutable(boolean) - Method in class org.tentackle.session.AbstractSessionTask
- setSessionImmutable(boolean) - Method in interface org.tentackle.session.SessionDependable
-
Sets the session to immutable.
- setSessionImmutable(boolean) - Method in interface org.tentackle.session.SessionHolder
-
Sets the session to immutable.
- setSessionImmutable(boolean) - Method in class org.tentackle.session.ThreadLocalSessionHolder
- setSessionKeptAlive(boolean) - Method in class org.tentackle.session.DefaultSessionTaskDispatcher
- setSessionKeptAlive(boolean) - Method in interface org.tentackle.session.SessionTaskDispatcher
-
Sets the keepalive flag.
If set, setAlive() will be invoked periodically to keep the session alive. - setSessionName(String) - Method in class org.tentackle.session.DefaultSessionInfo
- setSessionName(String) - Method in interface org.tentackle.session.SessionInfo
-
Sets an optional session name.
May be used to describe the purpose of the session. - setSince(long) - Method in class org.tentackle.session.DefaultSessionInfo
- setSince(long) - Method in interface org.tentackle.session.SessionInfo
-
Sets the epochal time since when logged in.
- setTimeZone(TimeZone) - Method in class org.tentackle.session.DefaultSessionInfo
- setTimeZone(TimeZone) - Method in interface org.tentackle.session.SessionInfo
-
Sets the timezone.
- setToken(char[]) - Method in class org.tentackle.session.auth.TokenCredentials
-
Sets the token.
- setTokenType(String) - Method in class org.tentackle.session.auth.TokenCredentials
-
Sets the token type.
- setUrl(String) - Method in class org.tentackle.session.BackendConfiguration
-
Sets the host- or service url.
- setUrl(String) - Method in class org.tentackle.session.DriverConfiguration
-
Sets the url to load the driver.
- setUser(String) - Method in class org.tentackle.session.BackendConfiguration
-
Gets the username.
- setUserClassId(int) - Method in interface org.tentackle.session.auth.Authentication
-
Sets the class id of the authenticated user.
- setUserClassId(int) - Method in class org.tentackle.session.auth.DefaultAuthentication
- setUserClassId(int) - Method in class org.tentackle.session.DefaultSessionInfo
- setUserClassId(int) - Method in interface org.tentackle.session.SessionInfo
-
Sets the class id of the current user.
- setUserId(long) - Method in interface org.tentackle.session.auth.Authentication
-
Sets the object id of the authenticated user.
- setUserId(long) - Method in class org.tentackle.session.auth.DefaultAuthentication
- setUserId(long) - Method in class org.tentackle.session.DefaultSessionInfo
- setUserId(long) - Method in interface org.tentackle.session.SessionInfo
-
Sets the user id.
- setUserName(String) - Method in class org.tentackle.session.auth.PasswordCredentials
-
Sets the username.
- setUserName(String) - Method in class org.tentackle.session.DefaultSessionInfo
- setUserName(String) - Method in interface org.tentackle.session.SessionInfo
-
Sets the username.
- setVmInfo(String) - Method in class org.tentackle.session.DefaultSessionInfo
- setVmInfo(String) - Method in interface org.tentackle.session.SessionInfo
-
Sets the info string describing the JVM.
- showMessage(String) - Method in interface org.tentackle.session.auth.CredentialsPrompt
-
Shows a message to the user.
- showMessage(String) - Method in class org.tentackle.session.auth.DefaultCredentialsPrompt
- shutdown() - Method in interface org.tentackle.session.MultiUserSessionPool
-
Closes all sessions in the pool, cleans up, and makes the pool unusable.
- shutdown() - Method in class org.tentackle.session.SessionPooledExecutor
-
Shuts down the executor service and the pool.
- sortValidators(List) - Method in class org.tentackle.session.SessionValidationUtilities
- startKeepAliveDaemonIfNotRunning() - Method in class org.tentackle.session.SessionUtilities
-
Starts the keep alive thread if not already running.
- submit(Runnable) - Static method in interface org.tentackle.session.ModificationTracker
-
Submits a task invoking given runnable.
- submit(Collection, long, Consumer, Consumer) - Method in class org.tentackle.session.SessionPooledExecutor
-
Submits a collection of tasks for background execution in multiple threads of a thread pool and waits for their termination.
If there are failures, the fail handler (if any) will be invoked before the success handler. - submit(Supplier, Consumer, Consumer) - Method in class org.tentackle.session.SessionPooledExecutor
-
Submits a task for execution in the background by a thread pool.
- supports(Credentials) - Method in interface org.tentackle.session.auth.AuthenticationProvider
-
Returns whether this provider is responsible for the given credentials.
T
- TableName - Annotation Interface in org.tentackle.session
-
Annotation for the tablename of a PDO.
- terminateHelperThreads() - Method in class org.tentackle.session.SessionUtilities
-
Stops all helper threads.
- ThreadLocalSessionHolder - Class in org.tentackle.session
-
A session holder returning the thread-local session.
Nice if no domain context available, e.g., for low-level AbstractDbObjects. - ThreadLocalSessionHolder() - Constructor for class org.tentackle.session.ThreadLocalSessionHolder
-
Creates a thread-local session holder.
- TokenCredentials - Class in org.tentackle.session.auth
-
Token-based credentials, such as an OAuth2 access token or an OIDC ID token.
- TokenCredentials() - Constructor for class org.tentackle.session.auth.TokenCredentials
-
Creates empty bearer token credentials.
Required by TRIP to deserialize the credentials on the server. - TokenCredentials(char[]) - Constructor for class org.tentackle.session.auth.TokenCredentials
-
Creates bearer token credentials.
- TokenCredentials(String, char[]) - Constructor for class org.tentackle.session.auth.TokenCredentials
-
Creates token credentials.
- toString() - Method in class org.tentackle.session.AbstractSessionConfiguration
- toString() - Method in class org.tentackle.session.auth.DefaultAuthentication
- toString() - Method in class org.tentackle.session.auth.PasswordCredentials
- toString() - Method in class org.tentackle.session.auth.Secret
-
Returns a description that never reveals the value.
- toString() - Method in class org.tentackle.session.auth.TokenCredentials
- toString() - Method in class org.tentackle.session.DefaultSessionInfo
- toString() - Method in class org.tentackle.session.ModificationEvent
- toString() - Method in class org.tentackle.session.ModificationEventDetail
- toString() - Method in record class org.tentackle.session.SavepointHandle
-
Returns a string representation of this record class.
- toString() - Method in class org.tentackle.session.SessionKeepAliveTask
- transaction(Runnable) - Static method in interface org.tentackle.session.ModificationTracker
-
Submits a session task invoking the given runnable within a transaction of the tracker's session.
- transaction(String, Runnable) - Static method in interface org.tentackle.session.ModificationTracker
-
Submits a session task invoking the given runnable within a transaction of the tracker's session.
- transaction(String, Provider) - Method in interface org.tentackle.session.Session
-
Runs code within a transaction.
- transaction(Provider) - Method in interface org.tentackle.session.Session
-
Runs code within a transaction.
The transaction name is derived from the enclosing method. - TransactionIsolation - Enum Class in org.tentackle.session
-
Enum that maps the low-level integer constants of the transaction isolation levels in
java.sql.Connection. - TransactionWritability - Enum Class in org.tentackle.session
-
Enum for read-write or read-only transactions.
U
- unlockInternal(long) - Method in class org.tentackle.session.DefaultSessionTaskDispatcher
- unregisterCloseHandler(SessionCloseHandler) - Method in interface org.tentackle.session.Session
-
Unregisters a close handler.
- unregisterGlobalCloseHandler(SessionCloseHandler) - Method in interface org.tentackle.session.SessionFactory
-
Unregisters a global close handler for all sessions.
- updateDbObject(Identifiable) - Method in exception class org.tentackle.session.PersistenceException
-
Updates the pdo if not set so far.
Used to add more info for exceptions thrown in a context where the pdo isn't known. - UserResolver - Interface in org.tentackle.session.auth
-
Maps a proven identity onto the application's user entity.
V
- value() - Element in annotation interface org.tentackle.session.auth.CredentialsProviderService
-
Gets the name of the authentication method.
- value() - Element in annotation interface org.tentackle.session.ClassId
-
Determines the class ID.
- value() - Element in annotation interface org.tentackle.session.MasterSerialEventService
-
Determines the serviced event class.
- value() - Element in annotation interface org.tentackle.session.TableName
-
Determines the tablename.
- valueOf(int) - Static method in enum class org.tentackle.session.TransactionIsolation
-
Derives the transaction isolation enum from the low-level constant integer.
- valueOf(Boolean) - Static method in enum class org.tentackle.session.TransactionWritability
-
Derives the transaction writability enum from the low-level boolean.
- valueOf(String) - Static method in enum class org.tentackle.session.TransactionIsolation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.tentackle.session.TransactionWritability
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.tentackle.session.TransactionIsolation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.tentackle.session.TransactionWritability
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VersionIncompatibleException - Exception Class in org.tentackle.session
-
Exception thrown if client's and server's versions don't match.
- VersionIncompatibleException(String, String, String) - Constructor for exception class org.tentackle.session.VersionIncompatibleException
-
Creates a version incompatible exception.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form