com.github.dynamicextensionsalfresco.resources.StaticUpdateStrategy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of annotations-runtime Show documentation
Show all versions of annotations-runtime 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.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