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

com.github.dynamicextensionsalfresco.osgi.ConfigurationValues 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.util.Collection;
import java.util.Iterator;

import org.springframework.context.ApplicationContext;
import org.springframework.util.Assert;

/**
 * Holds configuration values, such as {@link SystemPackage}s and {@link ServiceDefinition}s.
 * 

* Using a separate class, instead of a generic {@link Collection}, works around issues when autowiring dependencies in * an {@link ApplicationContext} that contains other {@link Collection} top-level beans. * * @author Laurens Fridael * * @param */ public class ConfigurationValues implements Iterable { private final Collection values; public ConfigurationValues(final Collection values) { Assert.notNull(values); this.values = values; } public Collection getValues() { return values; } @Override public Iterator iterator() { return values.iterator(); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy