public class CdmApplicationUtils
extends java.lang.Object
implements org.springframework.context.ApplicationContextAware
Constructor and Description |
---|
CdmApplicationUtils() |
Modifier and Type | Method and Description |
---|---|
static java.io.File |
getWritableResourceDir()
Returns the directory path to the writable resources (cdm.datasources.xml and H2 databases).
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
public static java.io.File getWritableResourceDir() throws java.io.IOException
java.io.IOException
- if resource directory is not writablepublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
Copyright © 2007-2020 EDIT. All Rights Reserved.