Class ServerRuntimeBuilder

java.lang.Object
org.apache.cayenne.configuration.server.ServerRuntimeBuilder

public class ServerRuntimeBuilder extends Object
A convenience class to assemble custom ServerRuntime. It allows to easily configure custom modules, multiple config locations, or quickly create a global DataSource.
Since:
4.0
  • Constructor Details

    • ServerRuntimeBuilder

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