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

com.github.dynamicextensionsalfresco.blueprint.DynamicExtensionsApplicationContext 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: 2.1.4
Show newest version
package com.github.dynamicextensionsalfresco.blueprint;

import com.github.dynamicextensionsalfresco.blueprint.spring3.Spring3OsgiAutowireBeanFactory;
import org.alfresco.util.VersionNumber;
import org.springframework.beans.factory.support.DefaultListableBeanFactory;
import org.springframework.context.ApplicationContext;

public class DynamicExtensionsApplicationContext extends DynamicExtensionsApplicationContextBase {
    public DynamicExtensionsApplicationContext(String[] configurationLocations, ApplicationContext parent) {
        super(configurationLocations, parent);
    }

    @Override
    protected DefaultListableBeanFactory createVersionSpecificBeanFactory(VersionNumber version) {
        return new Spring3OsgiAutowireBeanFactory(
                this.getInternalParentBeanFactory(), this.getBundleContext());
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy