org.apache.tapestry5.jpa.JpaSymbols Maven / Gradle / Ivy
// Copyright 2011 The Apache Software Foundation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package org.apache.tapestry5.jpa;
/**
* Configuration symbols, for use with contributions to {@link org.apache.tapestry5.ioc.services.ApplicationDefaults}.
*
* @since 5.3
*/
public class JpaSymbols
{
public static final String PROVIDE_ENTITY_VALUE_ENCODERS = "tapestry.jpa.provide-entity-value-encoders";
/**
* If "true", then JPA will be started up at application launch, rather than lazily.
*
* @since 5.3
*/
public static final String EARLY_START_UP = "tapestry.jpa.early-startup";
/**
* If true, then "entity" persistence strategy is used to store JPA entities as
* {@code Session State Objects}.
*
* @since 5.3
*/
public static final String ENTITY_SESSION_STATE_PERSISTENCE_STRATEGY_ENABLED = "tapestry.jpa.entity-session-state-persistence-strategy-enabled";
/**
* The location of the persistence configuration file, located on the classpath. This
* will normally be /META-INF/persistence.xml
.
*
* @since 5.3
*/
public static final String PERSISTENCE_DESCRIPTOR = "tapestry.jpa.persistence-descriptor";
}