Class PdoRemoteSessionAdapter
java.lang.Object
org.tentackle.dbms.RemoteSessionAdapter
org.tentackle.persist.PdoRemoteSessionAdapter
- All Implemented Interfaces:
PdoRemoteSession, org.tentackle.session.RemoteSession
Extended remote session adapter providing PDO-related services.
- Author:
- harald
-
Constructor Summary
ConstructorsConstructorDescriptionCreates the remote session adapter. -
Method Summary
Modifier and TypeMethodDescription<T extends DomainContextDependable>
TgetExtension(DomainContext context, Class<T> extIf) Methods inherited from class RemoteSessionAdapter
getClientSessionInfo, getRemoteDbSession, log, log, logStatisticsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
Checks the execute permission for the extension interface, creates the extension via the
ServiceFactoryand sets its domain context.- Specified by:
getExtensionin interfacePdoRemoteSession- Throws:
SecurityException- if the user has no execute permissionorg.tentackle.session.PersistenceException- if the extension could not be created
-