Purpose: Support serializing/deserializing a project representing application metadata to/from a file.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | Returns: object for the given name, null if not foundproperty name propertyName, Map<String, ?> properties properties, SessionLog logger log)Check the provided map for an object with the given name. |
| public Project | retrieveProject(Map<String, ?> properties, ClassLoader loader, SessionLog log)
Implements org. |
| public void | storeProject(Project project, Map<String, ?> properties, SessionLog log)
Implements org. |
| FileBasedProjectCache | back to summary |
|---|---|
| public FileBasedProjectCache() Default constructor. | |
| getConfigPropertyLogDebug | back to summary |
|---|---|
| public Object getConfigPropertyLogDebug(final String propertyName, Map<String, ?> properties, SessionLog log) Check the provided map for an object with the given name. If that object is not available, check the System properties. Log the value returned if logging is enabled at the FINEST level
| |
| retrieveProject | back to summary |
|---|---|
| public Project retrieveProject(Map<String, ?> properties, ClassLoader loader, SessionLog log) Implements org. Doc from org. 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 | back to summary |
|---|---|
| public void storeProject(Project project, Map<String, ?> properties, SessionLog log) Implements org. Doc from org. PUBLIC: This method is responsible for caching a project instance representing the application metadata.
| |