Class CayenneRuntimeBuilder

java.lang.Object
org.apache.cayenne.runtime.CayenneRuntimeBuilder

public class CayenneRuntimeBuilder extends Object
A convenience class to assemble custom CayenneRuntime. It allows to easily configure custom modules, multiple config locations, or quickly create a global DataSource.
Since:
5.0 renamed from ServerRuntimeBuilder and moved to org.apache.cayenne.runtime package
  • Constructor Details

    • CayenneRuntimeBuilder

      protected CayenneRuntimeBuilder(String name)
      Creates a builder with a fixed name of the DataDomain of the resulting CayenneRuntime. Specifying explicit name is often needed for consistency in runtimes merged from multiple configs, each having its own name.
  • Method Details