AnnotationCommitLogEntityFactory (cayenne-doc: Cayenne Documentation 5.0-M2 API)
Description: declaration: package: org.apache.cayenne.commitlog.meta, class: AnnotationCommitLogEntityFactory

# Class AnnotationCommitLogEntityFactory

java.lang.Object
org.apache.cayenne.commitlog.meta.AnnotationCommitLogEntityFactory

All Implemented Interfaces:
  `CommitLogEntityFactory`

public class AnnotationCommitLogEntityFactory extends Object implements CommitLogEntityFactory
Compiles `CommitLogEntity`'s based on `CommitLog` annotation.

Since:
  4.0

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `AnnotationCommitLogEntityFactory(Provider<DataChannel> channelProvider)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `CommitLogEntity`
  `getEntity(ObjectId id)`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### AnnotationCommitLogEntityFactory

    public AnnotationCommitLogEntityFactory(Provider<DataChannel> channelProvider)

- ## Method Details

  - ### getEntity

    public CommitLogEntity getEntity(ObjectId id)
    Specified by:
      `getEntity` in interface `CommitLogEntityFactory`