Package org.tentackle.dbms.trip
package org.tentackle.dbms.trip
Low-level persistence layer remoting.
Contains the generic TripServer, the remote connection and session,
and the remote delegates that make the persistence layer location-transparent via TRIP.
-
ClassDescriptionAbstractDbObjectRemoteDelegate<P extends AbstractDbObject<P>>Delegate for the AbstractDbObject class.
Provides the remote counterparts of the generic persistence operations ofAbstractDbObject.AbstractDbObjectRemoteDelegateImpl<P extends AbstractDbObject<P>>Base class for the remote delegate of AbstractDbObject.
All other subclasses of AbstractDbObject should extend AbstractDbObjectRemoteDelegateImpl to reflect the class hierarchy below AbstractDbObject.AbstractDbOperationRemoteDelegate<P extends AbstractDbOperation<P>>Delegate for the AbstractDbOperation class.AbstractDbOperationRemoteDelegateImpl<P extends AbstractDbOperation<P>>Base class for the remote delegate of AbstractDbOperation.
All other subclasses of AbstractDbOperation should extend AbstractDbOperationRemoteDelegateImpl to reflect the class hierarchy below AbstractDbOperation.Remote delegate interface forModificationTracker.Remote delegate implementation forDbModificationTracker.Result of a remote persistence operation.
Returns the possibly new object-ID, the changed serial, and the table serial to the client.Remote delegate interface forDb.Remote delegate implementation forDb.The default implementation for aRemoteDbDelegateLocator.Client-side invocation handler forRemoteDbDelegates.
Translates a missing delegate on the server, which means that the remote session was closed, into aRemoteSessionClosedException.Extended TRIP factory aware of database-related remote delegates.The default master serial.Remote delegate interface forModificationLog.Remote delegate implementation forModificationLog.Marks a class as a candidate for preloading its remote delegate.
Applicable to persistence implementations of entities and operations, i.e., all classes registered viaDb.prepareRemoteDelegate(Class).TRIP remote connection.
This is the first remote object passed to the client when it connects to the application server.Server side TRIP-connection implementation.Tag interface for remote db object delegates.
The implementation of a delegate must provide a constructor as follows:All remote delegates must extend this class.Invocation handler to capture TRIP method invocations.Finds the remote delegate classes for a given class.The result.Application server session.
The session will create all other delegates for the client.Cleans up dead or crashed sessions.User session within the application server.ARemoteDbSessionImplcan provide a filter executed before each method invocation by theRemoteDbDelegateInvocationHandler.TRIP servers should throw a RemoteSessionClosedException if the remote session is already closed.Component provider forSQLException.SQLExceptionInstanceCreator<T extends SQLException>Instance creator forSQLExceptionand its subclasses.
The exception is created via the public(String reason, String SQLState, int vendorCode, Throwable cause)constructor of its class, which all subclasses of thejava.sqlpackage provide.A generic TRIP server.
Creates the serverTransport(s) to handle incoming connections.