java.lang.Object
org.tentackle.dbms.RemoteSessionAdapter
org.tentackle.persist.PdoRemoteSessionAdapter
- All Implemented Interfaces:
PdoRemoteSession
,RemoteSession
Adapter for a remote session.
Hides the RMI stuff.
Hides the RMI stuff.
- Author:
- harald
-
Constructor Summary
ConstructorDescriptionCreates the remote session adapter. -
Method Summary
Modifier and TypeMethodDescription<T extends DomainContextDependable>
TgetExtension
(DomainContext context, Class<T> extIf) Gets an extension object.
Extensions are used to provide additional services.Methods inherited from class org.tentackle.dbms.RemoteSessionAdapter
getClientSessionInfo, getRemoteDbSession, log, log, logStatistics
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.tentackle.session.RemoteSession
getClientSessionInfo, log, log, logStatistics
-
Constructor Details
-
PdoRemoteSessionAdapter
Creates the remote session adapter.- Parameters:
rs
- the remote session object
-
-
Method Details
-
getExtension
Description copied from interface:PdoRemoteSession
Gets an extension object.
Extensions are used to provide additional services. The given interface is checked against execution permission within the requested domain context. If refused, a SecurityException is thrown.- Specified by:
getExtension
in interfacePdoRemoteSession
- Type Parameters:
T
- the extension type- Parameters:
context
- the domain contextextIf
- the extension interface- Returns:
- the extension
-