Interface ProjectCache
-
- All Known Implementing Classes:
FileBasedProjectCache
public interface ProjectCache
Purpose: Interface used to support caching the project generated from metadata avoiding costs associated processing the same metadata over multiple deployments.- See Also:
PersistenceUnitProperties.PROJECT_CACHE
- Author:
- cdelahunt
- Since:
- EclipseLink 2.4.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Project
retrieveProject(java.util.Map properties, java.lang.ClassLoader loader, SessionLog log)
PUBLIC: This method is responsible for returning the cached metadata as represented by a Project instance.void
storeProject(Project project, java.util.Map properties, SessionLog log)
PUBLIC: This method is responsible for caching a project instance representing the application metadata.
-
-
-
Method Detail
-
retrieveProject
Project retrieveProject(java.util.Map properties, java.lang.ClassLoader loader, SessionLog log)
PUBLIC: This method is responsible for returning the cached metadata as represented by a Project instance. This instance will have limited processing performed to turn string instances into classes during deployment. The classloader provided is the application loader. Please note that using it to load application classes (Entities) may prevent them from being dynamically woven.- Since:
- EclipseLink 2.4.1
-
storeProject
void storeProject(Project project, java.util.Map properties, SessionLog log)
PUBLIC: This method is responsible for caching a project instance representing the application metadata.- Since:
- EclipseLink 2.4.1
-
-