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

com.github.dynamicextensionsalfresco.osgi.felix.FelixFrameworkFactoryBean 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.felix;

import com.github.dynamicextensionsalfresco.osgi.spring.AbstractFrameworkFactoryBean;

import org.osgi.framework.launch.Framework;
import org.osgi.framework.launch.FrameworkFactory;
import org.springframework.beans.factory.FactoryBean;

/**
 * {@link FactoryBean} that creates Felix-based {@link Framework}s.
 * 
 * @author Laurens Fridael
 * 
 */
public class FelixFrameworkFactoryBean extends AbstractFrameworkFactoryBean {

	private FrameworkFactory frameworkFactory;

	@Override
	protected FrameworkFactory getFrameworkFactory() {
		if (frameworkFactory == null) {
			frameworkFactory = new org.apache.felix.framework.FrameworkFactory();
		}
		return frameworkFactory;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy