Class PdoRemoteSessionAdapter

java.lang.Object
org.tentackle.dbms.RemoteSessionAdapter
org.tentackle.persist.PdoRemoteSessionAdapter
All Implemented Interfaces:
PdoRemoteSession, org.tentackle.session.RemoteSession

public class PdoRemoteSessionAdapter extends RemoteSessionAdapter implements PdoRemoteSession
Extended remote session adapter providing PDO-related services.
Author:
harald
  • Constructor Details

    • PdoRemoteSessionAdapter

      public PdoRemoteSessionAdapter(RemoteDbSession rs)
      Creates the remote session adapter.
      Parameters:
      rs - the remote session object
  • Method Details

    • getExtension

      public <T extends DomainContextDependable> T getExtension(DomainContext context, Class<T> extIf)

      Checks the execute permission for the extension interface, creates the extension via the ServiceFactory and sets its domain context.

      Specified by:
      getExtension in interface PdoRemoteSession
      Throws:
      SecurityException - if the user has no execute permission
      org.tentackle.session.PersistenceException - if the extension could not be created