Class PdoRemoteSessionAdapter

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

public class PdoRemoteSessionAdapter extends RemoteSessionAdapter implements PdoRemoteSession
Adapter for a remote session.
Hides the RMI stuff.
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)
      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 interface PdoRemoteSession
      Type Parameters:
      T - the extension type
      Parameters:
      context - the domain context
      extIf - the extension interface
      Returns:
      the extension