Constructor and Description |
---|
JpaModule() |
public JpaModule()
public static void bind(ServiceBinder binder)
public static JpaEntityPackageManager buildJpaEntityPackageManager(Collection<String> packageNames)
@Scope(value="perthread") public static EntityManagerManager buildEntityManagerManager(EntityManagerSource entityManagerSource, PerthreadManager perthreadManager, org.slf4j.Logger logger)
@Contribute(value=JpaEntityPackageManager.class) public static void provideEntityPackages(Configuration<String> configuration, @Symbol(value="tapestry.app-package") String appRootPackage)
@Contribute(value=PersistentFieldManager.class) public static void provideEntityPersistentFieldStrategies(MappedConfiguration<String,PersistentFieldStrategy> configuration)
@Contribute(value=ApplicationStatePersistenceStrategySource.class) public void provideApplicationStatePersistenceStrategies(MappedConfiguration<String,ApplicationStatePersistenceStrategy> configuration)
@Contribute(value=ComponentClassTransformWorker2.class) @Primary public static void provideClassTransformWorkers(OrderedConfiguration<ComponentClassTransformWorker2> configuration)
@Contribute(value=MasterObjectProvider.class) public static void provideObjectProviders(OrderedConfiguration<ObjectProvider> configuration)
@Contribute(value=SymbolProvider.class) @FactoryDefaults public static void provideFactoryDefaults(MappedConfiguration<String,String> configuration)
@Contribute(value=ValueEncoderSource.class) public static void provideValueEncoders(MappedConfiguration<Class,ValueEncoderFactory> configuration, @Symbol(value="tapestry.jpa.provide-entity-value-encoders") boolean provideEncoders, EntityManagerSource entityManagerSource, EntityManagerManager entityManagerManager, TypeCoercer typeCoercer, PropertyAccess propertyAccess, LoggerSource loggerSource)
@Contribute(value=ApplicationStateManager.class) public static void provideApplicationStateContributions(MappedConfiguration<Class,ApplicationStateContribution> configuration, EntityManagerSource entityManagerSource, @Symbol(value="tapestry.jpa.entity-session-state-persistence-strategy-enabled") boolean entitySessionStatePersistenceStrategyEnabled)
@Startup public static void startupEarly(EntityManagerManager entityManagerManager, @Symbol(value="tapestry.jpa.early-startup") boolean earlyStartup)
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.