com.github.dynamicextensionsalfresco.blueprint.DynamicExtensionsApplicationContext Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of blueprint-integration-spring-3 Show documentation
Show all versions of blueprint-integration-spring-3 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.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