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

com.github.dynamicextensionsalfresco.resources.StaticUpdateStrategy 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.resources;

import org.alfresco.service.cmr.repository.NodeRef;
import org.springframework.core.io.Resource;

/**
 * @author Laurent Van der Linden
 */
public class StaticUpdateStrategy implements UpdateStrategy {
    private final boolean strategy;

    public StaticUpdateStrategy(boolean strategy) {
        this.strategy = strategy;
    }

    @Override
    public boolean updateNode(Resource resource, NodeRef nodeRef) {
        return strategy;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy