com.github.dynamicextensionsalfresco.osgi.Configuration.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alfresco-integration Show documentation
Show all versions of alfresco-integration Show documentation
Adds an OSGi container to alfresco repository supporting dynamic code reloading, classpath isolation and a bunch of other useful features
package com.github.dynamicextensionsalfresco.osgi
import java.io.File
/**
* Value object representing the OSGi container configuration;
* @author Laurens Fridael
*/
public class Configuration {
var frameworkRestartEnabled = true
var hotDeployEnabled = true
var repositoryBundlesEnabled = true
var storageDirectory: File? = null
get() = field ?: File(System.getProperty("java.io.tmpdir"), "bundles")
var systemPackageCacheMode: PackageCacheMode? = null
val systemPackageCache = File(System.getProperty("java.io.tmpdir"), "system-packages.txt")
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy