A B C D E G H I K L M N O P R S T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractSessionConfiguration - Class in org.tentackle.session
-
Base class for
BackendConfigurationandDriverConfiguration. - AbstractSessionConfiguration() - Constructor for class org.tentackle.session.AbstractSessionConfiguration
- AbstractSessionTask - Class in org.tentackle.session
-
A task being executed by the
SessionTaskDispatcher. - AbstractSessionTask() - Constructor for class org.tentackle.session.AbstractSessionTask
- 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.
- AlreadyLoggedInException - Exception in org.tentackle.session
-
Exception thrown if the user is already logged in.
Usually for appservers that don't allow a user logged in more than once. - AlreadyLoggedInException(Session, SessionInfo) - Constructor for exception 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 and password from properties, if given. - applyTo(Collection<? extends SessionDependable>) - 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 invoke obj.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.
B
- BackendConfiguration - Class in org.tentackle.session
-
Configuration for a database backend.
The configuration is stored via the standardPreferencesand provides the paramaters 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!
C
- checkServerVersionInfo(Serializable) - Method in class org.tentackle.session.DefaultSessionInfo
-
Checks the version information (of the server).
- checkServerVersionInfo(Serializable) - Method in interface org.tentackle.session.SessionInfo
-
Checks the version information (of the server).
- ClassId - Annotation Type 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
- clearCloned() - Method in class org.tentackle.session.DefaultSessionInfo
-
Cleares the cloned flag.
Useful if the userinfo should no longer be treated as cloned. - clearCloned() - Method in interface org.tentackle.session.SessionInfo
-
Cleares the cloned flag.
- 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
-
Clears the password.
- clearPassword() - Method in interface org.tentackle.session.SessionInfo
-
Clears the password.
Will remove it from memory by overwriting each element in the character array. - clone() - Method in class org.tentackle.session.DefaultSessionInfo
-
Clones a userinfo.
The password is copied, if not null.
The properties are cloned as well.
Cloned session infos are mutable by default. - clone() - 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. - clone() - Method in interface org.tentackle.session.SessionInfo
-
Clones a sessioninfo.
The password will be copied if not null. - close() - Method in interface org.tentackle.session.Session
-
Close a session.
Closing an already closed session is okay and ignored. - comment() - Method in annotation type org.tentackle.session.Persistent
-
Optional comment.
- commit(long) - Method in interface org.tentackle.session.Session
-
Commits a transaction if the corresponding begin() has started it.
- component() - Method in annotation type org.tentackle.session.Persistent
-
Returns whether this is a component of the PDO.
This is true for all members/attributes and composite relations. - ConstraintException - Exception in org.tentackle.session
-
Runtime exception thrown for database constraint violations.
- ConstraintException() - Constructor for exception org.tentackle.session.ConstraintException
-
Constructs a new database constraint exception without a session and with
nullas its detail message. - ConstraintException(String) - Constructor for exception org.tentackle.session.ConstraintException
-
Constructs a new database constraint exception without a session with the specified detail message.
- ConstraintException(String, Throwable) - Constructor for exception 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 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 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 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 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 ? null : cause.toString()) (which typically contains the class and detail message of cause).
- ConstraintException(Session) - Constructor for exception 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 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 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 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 ? null : cause.toString()) (which typically contains the class and detail message of cause).
- 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 property file 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(Properties) - Method in class org.tentackle.session.DefaultSessionInfoFactory
- create(Properties) - Method in interface org.tentackle.session.SessionInfoFactory
-
Creates a session info from a properties object.
- create(SessionInfo) - Method in interface org.tentackle.session.SessionFactory
-
Creates a session.
- 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.
- createExecutorService() - Method in class org.tentackle.session.SessionKeepAliveDaemon
-
Creates the executor service.
- createFromRemoteException(Object, RemoteException) - Static method in exception org.tentackle.session.PersistenceException
-
Creates a RuntimeException from a
RemoteException.
Returns the first RuntimeException in chain. - createKeepAliveDaemon() - Method in class org.tentackle.session.SessionUtilities
-
Creates the session keep alive daemon.
- createLock(Object) - Method in class org.tentackle.session.DefaultSessionTaskDispatcher
D
- dataChanged(ModificationEvent) - Method in interface org.tentackle.session.ModificationListener
-
Invoked whenever an instance of given class has changed.
- 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(Properties) - Constructor for class org.tentackle.session.DefaultSessionInfo
-
Creates a session from a properties object.
- DefaultSessionInfoFactory - Class in org.tentackle.session
-
Default session info factory.
- DefaultSessionInfoFactory() - Constructor for class org.tentackle.session.DefaultSessionInfoFactory
- 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 classid from the @ClassId annotation.
- determineTablename(Class<?>) - Method in class org.tentackle.session.SessionUtilities
-
Determines the tablename from the @TableName annotation.
- DriverConfiguration - Class in org.tentackle.session
-
Configuration for a backend driver.
The configuration is stored via the standardPreferencesand provides the paramaters necessary to load the a driver. - DriverConfiguration(String, String, String) - Constructor for class org.tentackle.session.DriverConfiguration
-
Creates a driver configuration.
E
- END_INFO - Static variable in exception org.tentackle.session.PersistenceException
-
Tag ending extra identifiable/session info in message.
- equals(Object) - Method in class org.tentackle.session.BackendConfiguration
- equals(Object) - Method in class org.tentackle.session.DefaultSessionInfo
-
Session infos are equal if their login credentials are equal.
- equals(Object) - Method in class org.tentackle.session.DriverConfiguration
- equals(Object) - Method in class org.tentackle.session.ModificationEventDetail
- equals(Object) - Method in class org.tentackle.session.SavepointHandle
- ExclusiveSessionProvider - Interface in org.tentackle.session
-
An exclusive session provider.
- extractPersistenceException(Throwable) - Static method in exception org.tentackle.session.PersistenceException
-
Extracts the
PersistenceExceptionfrom an exception.
G
- getApplication() - Method in class org.tentackle.session.BackendConfiguration
-
Gets the application name.
- getApplicationId() - Method in class org.tentackle.session.DefaultSessionInfo
-
Returns the application id.
- getApplicationId() - Method in interface org.tentackle.session.SessionInfo
-
Returns the application id.
- getApplicationName() - Method in class org.tentackle.session.DefaultSessionInfo
-
Gets the application name.
- getApplicationName() - Method in interface org.tentackle.session.SessionInfo
-
Gets the name of the application.
- 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.
- getBundle(String, Locale) - Method in class org.tentackle.session.service.Hook
- getClassId(String) - Method in class org.tentackle.session.SessionUtilities
-
Gets the classid of a pdo class.
- getClassName(int) - Method in class org.tentackle.session.SessionUtilities
-
Gets the classname for a classid.
- 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 user info.
- getClientVersion() - Method in exception org.tentackle.session.VersionInfoIncompatibleException
-
Gets the client's version.
- getClientVersionInfo() - Method in class org.tentackle.session.DefaultSessionInfo
-
Gets the client version info.
- getClientVersionInfo() - Method in interface org.tentackle.session.SessionInfo
-
Gets the client version info.
- 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.
- getDispatcher() - Method in interface org.tentackle.session.Session
-
Gets the dispatcher for this session.
The dispatcher can be used to submit asynchroneous tasks in a serial manner. - 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.
- getExecutorService() - Method in class org.tentackle.session.SessionKeepAliveDaemon
-
Gets the executor service.
- getHostInfo() - Method in class org.tentackle.session.DefaultSessionInfo
- getHostInfo() - Method in interface org.tentackle.session.SessionInfo
-
Gets the host info.
- getId() - Method in class org.tentackle.session.SavepointHandle
-
Gets the savepoint's id.
- getIdentifiable() - Method in exception org.tentackle.session.PersistenceException
-
Gets the persistent object.
- getImmutableLoggingLevel() - Method in class org.tentackle.session.DefaultSessionInfo
- 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 class org.tentackle.session.SessionUtilities
-
The singleton.
- getInstanceNumber() - Method in interface org.tentackle.session.Session
-
Gets the unique instance number of this Session.
- getKeepAliveInterval() - Method in interface org.tentackle.session.Session
-
Gets the auto keep alive interval.
- 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 org.tentackle.session.AlreadyLoggedInException
-
Gets the application user info.
- getLogLevel() - Method in exception org.tentackle.session.LoginFailedException
- getMaxSize() - Method in interface org.tentackle.session.SessionPool
-
Gets the maximum poolsize.
- getMessage() - Method in exception org.tentackle.session.AlreadyLoggedInException
- getMessage() - Method in exception org.tentackle.session.PersistenceException
- getName() - Method in class org.tentackle.session.AbstractSessionConfiguration
-
Gets the symbolic name.
- 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 class org.tentackle.session.SavepointHandle
-
Gets the savepoint's name.
- getName() - Method in interface org.tentackle.session.Session
-
Gets the session's name.
- getName() - Method in interface org.tentackle.session.SessionPool
-
Gets the name of this pool.
- 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.
- getPassword() - Method in class org.tentackle.session.BackendConfiguration
-
Gets the optional password.
- getPassword() - Method in class org.tentackle.session.DefaultSessionInfo
-
Gets the password.
- getPassword() - Method in interface org.tentackle.session.SessionInfo
-
Gets the password.
- getPersistedSerial() - Method in exception org.tentackle.session.NotFoundException
-
Gets the effective serial of the object persisted in the database.
- getPool() - Method in interface org.tentackle.session.Session
-
Gets the session pool.
- getPrefNode(String, boolean) - Static method in class org.tentackle.session.AbstractSessionConfiguration
-
Gets the configuration parent node.
- 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.
If the properties are not set so far, the method will load the properties file by adding the extension".properties"topropertiesName(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 the db errorhandler will be invoked (which will usually terminate the application). - getProperties() - Method in interface org.tentackle.session.SessionInfo
-
Gets the connection properties.
The 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 failes aPersistenceExceptionis thrown. - getPropertiesName() - Method in class org.tentackle.session.DefaultSessionInfo
-
Gets the name of the property file.
- 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.
- getRemoteSession() - Method in interface org.tentackle.session.Session
-
Gets the remote session.
- 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.
- getSerial(Class<?>) - Method in interface org.tentackle.session.ModificationTracker
-
Gets the serial for a given class.
- getSerial(String) - Method in interface org.tentackle.session.ModificationTracker
-
Gets the serial for a given modification name.
- getServerVersion() - Method in exception org.tentackle.session.VersionInfoIncompatibleException
-
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 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 threadlocal 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 to this lock.
- getSession() - Method in class org.tentackle.session.ThreadLocalSessionHolder
- getSessionGroupId() - Method in interface org.tentackle.session.Session
-
Gets the session's group ID.
- getSessionId() - Method in interface org.tentackle.session.Session
-
Gets the session ID.
- getSessionInfo() - Method in interface org.tentackle.session.Session
-
Gets the current user info.
- getSessionInfo() - Method in interface org.tentackle.session.SessionHolder
-
The SessionInfo extends the UserInfo by a SecurityManager.
- 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
- getSessionPool() - Method in interface org.tentackle.session.SessionPoolProvider
-
Gets the db session pool.
- getSince() - Method in class org.tentackle.session.DefaultSessionInfo
-
Gets the time since when logged in.
- getSince() - Method in interface org.tentackle.session.SessionInfo
-
Gets the epochal time since when logged in.
- getSize() - Method in interface org.tentackle.session.SessionPool
-
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 tablename of a pdo class.
- getTaskDispatcher() - Method in class org.tentackle.session.SessionTaskDispatcherLock
- getTimeDelay() - Method in interface org.tentackle.session.ModificationListener
-
Gets the optional delay to fire the event.
Allows to collect 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.
- getTxName() - Method in interface org.tentackle.session.Session
-
Gets the transaction name if a tx is currently running.
- 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 url.
- getUser() - Method in class org.tentackle.session.BackendConfiguration
-
Gets the optional username.
- 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 class org.tentackle.session.DefaultSessionInfo
- getUserId() - Method in interface org.tentackle.session.SessionInfo
-
Gets the user id.
- getUserName() - Method in class org.tentackle.session.DefaultSessionInfo
-
Gets the username.
- 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.
- groupWith(int) - Method in interface org.tentackle.session.Session
-
Assigns this session to another session building a session 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 class org.tentackle.session.SavepointHandle
- Hook - Class in org.tentackle.session.service
-
Hook for the session module.
- Hook() - Constructor for class org.tentackle.session.service.Hook
I
- 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.
- isCloned() - Method in class org.tentackle.session.DefaultSessionInfo
-
Checks whether this DefaultSessionInfo is cloned.
- 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.
- isFinallyImmutable() - Method in class org.tentackle.session.DefaultSessionInfo
- isImmutable() - Method in class org.tentackle.session.DefaultSessionInfo
- isLockLingerEnabled() - Method in class org.tentackle.session.DefaultSessionInfo
- isLockLingerEnabled() - Method in interface org.tentackle.session.SessionInfo
-
Determines whether tokenlocks are removed when 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.
- isOpen() - Method in interface org.tentackle.session.Session
-
Gets the connection state.
- isPersisted() - Method in class org.tentackle.session.AbstractSessionConfiguration
-
Returns whether 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 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
- isShutdown() - Method in interface org.tentackle.session.SessionPool
-
Returns whether the pool is shutdown.
- isSingleEvent() - Method in class org.tentackle.session.ModificationEvent
-
Returns whether this is a named single event.
- isSomeRemoved(long, List<IdSerialTuple>, long) - Method in class org.tentackle.session.SessionUtilities
-
Inspects an expiration set and determines whether at least one object has been removed.
- isTxRunning() - Method in interface org.tentackle.session.Session
-
Determines whether a tx 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
- log(Logger.Level, String) - Method in interface org.tentackle.session.RemoteSession
-
Logs at the server-side.
- LoginFailedException - Exception in org.tentackle.session
-
RMI servers should throw a LoginFailedException if authentication fails (or any other reason)
- LoginFailedException() - Constructor for exception org.tentackle.session.LoginFailedException
-
Constructs a new login failed exception without a session and with
nullas its detail message. - LoginFailedException(String) - Constructor for exception org.tentackle.session.LoginFailedException
-
Constructs a new login failed exception without a session with the specified detail message.
- LoginFailedException(String, Throwable) - Constructor for exception 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 org.tentackle.session.LoginFailedException
-
Constructs a new login failed exception for a given identifiable.
- LoginFailedException(Identifiable, String) - Constructor for exception 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 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 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 ? null : cause.toString()) (which typically contains the class and detail message of cause).
- LoginFailedException(Session) - Constructor for exception 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 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 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 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 ? null : cause.toString()) (which typically contains the class and detail message of cause).
- logStatistics(Logger.Level, boolean) - Method in interface org.tentackle.session.RemoteSession
-
Logs the statistics at the server-side.
M
- makeCurrent() - Method in interface org.tentackle.session.Session
-
Makes this session the current session for this thread.
- mapSchema() - Method in annotation type org.tentackle.session.TableName
-
Determines whether schemas are allowed or mapped to simple table names.
If true, tablenames like "md.blah" are mapped to "md_blah". - 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<ModificationEventDetail>) - 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.
N
- NotFoundException - Exception in org.tentackle.session
-
Runtime exception thrown if objects that should exist are not found in the database.
- NotFoundException() - Constructor for exception 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 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 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 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 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 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 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 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 ? null : cause.toString()) (which typically contains the class and detail message of cause).
- NotFoundException(Session) - Constructor for exception 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 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 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 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 ? null : cause.toString()) (which typically contains the class and detail message of cause).
- NotRemovableException - Exception in org.tentackle.session
-
Runtime exception thrown for not-removables.
- NotRemovableException() - Constructor for exception org.tentackle.session.NotRemovableException
-
Constructs a new database constraint exception without a session and with
nullas its detail message. - NotRemovableException(String) - Constructor for exception org.tentackle.session.NotRemovableException
-
Constructs a new database constraint exception without a session with the specified detail message.
- NotRemovableException(String, Throwable) - Constructor for exception 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 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 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 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 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 ? null : cause.toString()) (which typically contains the class and detail message of cause).
- NotRemovableException(Session) - Constructor for exception 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 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 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 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 ? null : cause.toString()) (which typically contains the class and detail message of cause).
O
- ordinal() - Method in annotation type 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
- org.tentackle.session - package org.tentackle.session
-
The low-level core of sessions, persistent objects and operations.
- org.tentackle.session.service - package org.tentackle.session.service
P
- parent() - Method in annotation type org.tentackle.session.Persistent
-
Returns whether this is the relation to the parent PDO.
The parent PDO provides a composite relation to this PDO. - 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 in org.tentackle.session
-
Database runtime exception.
- PersistenceException() - Constructor for exception org.tentackle.session.PersistenceException
-
Constructs a new database runtime exception without a db connection and with
nullas its detail message. - PersistenceException(String) - Constructor for exception org.tentackle.session.PersistenceException
-
Constructs a new database runtime exception without a db connection with the specified detail message.
- PersistenceException(String, Throwable) - Constructor for exception org.tentackle.session.PersistenceException
-
Constructs a new database runtime exception without a db connection with the specified detail message and cause.
- PersistenceException(Throwable) - Constructor for exception org.tentackle.session.PersistenceException
-
Constructs a new database runtime exception without a db connection with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
- PersistenceException(Identifiable) - Constructor for exception org.tentackle.session.PersistenceException
-
Constructs a new database runtime exception for a given db object with
nullas its detail message. - PersistenceException(Identifiable, String) - Constructor for exception org.tentackle.session.PersistenceException
-
Constructs a new database runtime exception for a given db connection with the specified detail message.
- PersistenceException(Identifiable, String, Throwable) - Constructor for exception org.tentackle.session.PersistenceException
-
Constructs a new database runtime exception for a given db connection with the specified detail message and cause.
- PersistenceException(Identifiable, Throwable) - Constructor for exception org.tentackle.session.PersistenceException
-
Constructs a new database runtime exception for a given db connection with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
- PersistenceException(Session) - Constructor for exception org.tentackle.session.PersistenceException
-
Constructs a new database runtime exception for a given db connection with
nullas its detail message. - PersistenceException(Session, String) - Constructor for exception org.tentackle.session.PersistenceException
-
Constructs a new database runtime exception for a given db connection with the specified detail message.
- PersistenceException(Session, String, Throwable) - Constructor for exception org.tentackle.session.PersistenceException
-
Constructs a new database runtime exception for a given db connection with the specified detail message and cause.
- PersistenceException(Session, Throwable) - Constructor for exception org.tentackle.session.PersistenceException
-
Constructs a new database runtime exception for a given db connection with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
- Persistent - Annotation Type in org.tentackle.session
-
Persistent fields and methods are annotated with this annotation.
- prefix() - Method in annotation type org.tentackle.session.TableName
-
Adds a prefix to the tablename or schema.
- putSession(Session) - Method in interface org.tentackle.session.ReturnableSessionProvider
-
Returns a session to the provider.
R
- 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 given session.
- removeBackendConfigurations(String, boolean) - Static method in class org.tentackle.session.BackendConfiguration
-
Removes all backend configurations for 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. - requestSession() - Method in interface org.tentackle.session.ExclusiveSessionProvider
-
Requests a session for exclusive use.
- ReturnableSessionProvider - Interface in org.tentackle.session
-
Returnable session provider.
- rollback(long) - Method in interface org.tentackle.session.Session
-
Rolls back a transaction if the corresponding 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. - rollbackSilently(long) - Method in interface org.tentackle.session.Session
-
Rolls back a transaction if the corresponding 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 - Class in org.tentackle.session
-
A savepoint handle.
- SavepointHandle(int) - Constructor for class org.tentackle.session.SavepointHandle
-
Creates a handle for an unnamed savepoint.
- SavepointHandle(String) - Constructor for class org.tentackle.session.SavepointHandle
-
Creates a handle for a named savepoint.
- 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 in org.tentackle.session
-
Runtime exception thrown if the session is already closed.
- SessionClosedException() - Constructor for exception 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 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 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 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 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 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 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 ? null : cause.toString()) (which typically contains the class and detail message of cause).
- SessionClosedException(Session) - Constructor for exception 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 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 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 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 ? null : cause.toString()) (which typically contains the class and detail message of cause).
- 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 asynchroneous 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.
- SessionPoolProvider - Interface in org.tentackle.session
-
An object maintaining a SessionPool.
- 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.
- 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
-
Sets the application id.
Should be unique among the same application name. - 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
-
Sets the application name.
- setApplicationName(String) - Method in interface org.tentackle.session.SessionInfo
-
Sets the name of the application.
- setClientVersionInfo(Serializable) - Method in class org.tentackle.session.DefaultSessionInfo
-
Sets the client's version info.
- setClientVersionInfo(Serializable) - Method in interface org.tentackle.session.SessionInfo
-
Sets the client's version info.
- 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.
- 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.
- setIdentifiable(Identifiable) - Method in exception org.tentackle.session.PersistenceException
-
Sets the pdo.
- setImmutable(boolean) - Method in class org.tentackle.session.DefaultSessionInfo
- setImmutableLoggingLevel(Logger.Level) - Method in class org.tentackle.session.DefaultSessionInfo
- setKeepAliveInterval(long) - Method in interface org.tentackle.session.Session
-
Sets the auto keep alive interval.
If set, the session will be setAlive every 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 tokenlocks are removed when 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.DefaultSessionInfo
-
Sets the password.
- setPassword(char[]) - Method in interface org.tentackle.session.SessionInfo
-
Sets the password.
- setPassword(String) - Method in class org.tentackle.session.BackendConfiguration
-
Sets the password.
- setPersisted(boolean) - Method in class org.tentackle.session.AbstractSessionConfiguration
-
Sets whether configuration is loaded from preferences.
- setProperties(Properties) - Method in class org.tentackle.session.DefaultSessionInfo
-
Sets the connection properties.
- setProperties(Properties) - Method in interface org.tentackle.session.SessionInfo
-
Sets the connection properties.
- setPropertiesName(String) - Method in class org.tentackle.session.DefaultSessionInfo
-
Sets the name of the property file, i.e.
- 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. - 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.
- 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 exception org.tentackle.session.PersistenceException
-
Sets the db.
- 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 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. - setSince(long) - Method in class org.tentackle.session.DefaultSessionInfo
-
Sets the epochal time when the user logged in.
- 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.
- 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 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 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.DefaultSessionInfo
-
Sets the username
- 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.
- shutdown() - Method in interface org.tentackle.session.SessionPool
-
Closes all sessions in the pool, cleans up and makes the pool unusable.
- START_INFO - Static variable in exception org.tentackle.session.PersistenceException
-
Tag starting extra identifiable/session info in message.
- startKeepAliveDaemonIfNotRunning() - Method in class org.tentackle.session.SessionUtilities
-
Starts the keep alive thread if not already running.
T
- TableName - Annotation Type 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. - ThreadLocalSessionHolder() - Constructor for class org.tentackle.session.ThreadLocalSessionHolder
- toString() - Method in class org.tentackle.session.AbstractSessionConfiguration
- 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 class org.tentackle.session.SavepointHandle
- toString() - Method in class org.tentackle.session.SessionKeepAliveTask
- transaction(String, Provider<T, E>) - Method in interface org.tentackle.session.Session
-
Runs code within a transaction.
- transaction(Provider<T, E>) - Method in interface org.tentackle.session.Session
-
Runs code within a transaction.
The transaction name is derived from the enclosing method.
U
- unlockInternal(long) - Method in class org.tentackle.session.DefaultSessionTaskDispatcher
- unregisterGlobalCloseHandler(SessionCloseHandler) - Method in interface org.tentackle.session.SessionFactory
-
Unregisters a global close handler for all sessions.
- updateDbObject(Identifiable) - Method in exception 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.
V
- validate(String, ValidationScope) - Method in class org.tentackle.session.AbstractSessionConfiguration
- value() - Method in annotation type org.tentackle.session.ClassId
-
Determines the class ID.
- value() - Method in annotation type org.tentackle.session.TableName
-
Determines the tablename.
- VersionInfoIncompatibleException - Exception in org.tentackle.session
-
Exception thrown if client's and server's versions don't match.
- VersionInfoIncompatibleException(String, Serializable, Serializable) - Constructor for exception org.tentackle.session.VersionInfoIncompatibleException
-
Creates a version incompatible exception.
All Classes All Packages