All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.dynamicextensionsalfresco.osgi.Configuration.kt Maven / Gradle / Ivy

Go to download

Adds an OSGi container to alfresco repository supporting dynamic code reloading, classpath isolation and a bunch of other useful features

There is a newer version: 3.1.0
Show newest version
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