All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.java.ao.EntityManagerConfiguration Maven / Gradle / Ivy

Go to download

This is the core library for Active Objects. It is generic and can be embedded in any environment. As such it is generic and won't contain all connection pooling, etc.

There is a newer version: 6.1.1
Show newest version
package net.java.ao;

import net.java.ao.schema.NameConverters;
import net.java.ao.schema.info.EntityInfoResolverFactory;

/**
 * This represents a configuration for entity manager creation.
 */
public interface EntityManagerConfiguration {
    /**
     * @deprecated since 0.25. EntityManager now no longer caches.
     */
    @Deprecated
    boolean useWeakCache();

    /**
     * Gets the name converters to be used with the (to be) configured {@link net.java.ao.EntityManager}.
     *
     * @return a non-{@code null} {@link NameConverters name converter}
     */
    NameConverters getNameConverters();

    /**
     * Gets the schema configuration to be used with the (to be) configured {@link net.java.ao.EntityManager}
     *
     * @return a non-{@code null} {@link net.java.ao.SchemaConfiguration schema configuration}
     */
    SchemaConfiguration getSchemaConfiguration();

    /**
     * Gets a EntityInfo factory to use when parsing the schema configuration annotated on
     * the {@link RawEntity entity} type
     *
     * @return a non-{@code null} {@link net.java.ao.schema.info.EntityInfoResolver EntityInfo factory}
     */
    EntityInfoResolverFactory getEntityInfoResolverFactory();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy