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:
Author:
cdelahunt
  • Method Summary

    Modifier and Type
    Method
    Description
    retrieveProject(Map<String,?> properties, ClassLoader loader, SessionLog log)
    PUBLIC: This method is responsible for returning the cached metadata as represented by a Project instance.
    void
    storeProject(Project project, Map<String,?> properties, SessionLog log)
    PUBLIC: This method is responsible for caching a project instance representing the application metadata.
  • Method Details

    • retrieveProject

      Project retrieveProject(Map<String,?> properties, 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.
    • storeProject

      void storeProject(Project project, Map<String,?> properties, SessionLog log)
      PUBLIC: This method is responsible for caching a project instance representing the application metadata.