Class DefaultPdoFactory

java.lang.Object
org.tentackle.pdo.AbstractPdoFactory
org.tentackle.pdo.DefaultPdoFactory
All Implemented Interfaces:
PdoFactory

@Service(PdoFactory.class) public class DefaultPdoFactory extends AbstractPdoFactory
The default PDO factory.
Author:
harald
  • Constructor Details

    • DefaultPdoFactory

      public DefaultPdoFactory()
      Creates a pdo factory.
  • Method Details

    • getPersistenceMapper

      public ClassMapper getPersistenceMapper()
      Description copied from interface: PdoFactory
      Gets the persistence class mapper associated to this factory.
      The classmapper maps PDO interfaces to their persistence implementation.
      Returns:
      the mapper for the persistence implementations
    • getDomainMapper

      public ClassMapper getDomainMapper()
      Description copied from interface: PdoFactory
      Gets the domain class mapper associated to this factory.
      The classmapper maps PDO interfaces to their domain implementation.
      Returns:
      the mapper for the domain implementations