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

brooklyn.entity.webapp.JavaWebAppService Maven / Gradle / Ivy

package brooklyn.entity.webapp;

import java.util.List;
import java.util.Map;

import brooklyn.config.ConfigKey;
import brooklyn.entity.java.UsesJava;
import brooklyn.event.basic.BasicConfigKey;
import brooklyn.util.flags.SetFromFlag;

public interface JavaWebAppService extends WebAppService, UsesJava {

	@SetFromFlag("war")
	public static final ConfigKey ROOT_WAR = new BasicConfigKey(
	        String.class, "wars.root", "WAR file to deploy as the ROOT, as URL (supporting file: and classpath: prefixes)");

    @SetFromFlag("wars")
	public static final ConfigKey> NAMED_WARS = new BasicConfigKey(
	        List.class, "wars.named", "Archive files to deploy, as URL strings (supporting file: and classpath: prefixes); context (path in user-facing URL) will be inferred by name");
    
    @SetFromFlag("warsByContext")
    public static final ConfigKey> WARS_BY_CONTEXT = new BasicConfigKey(
            Map.class, "wars.by.context", "Map of context keys (path in user-facing URL, typically without slashes) to archives (e.g. WARs by URL) to deploy, supporting file: and classpath: prefixes)");
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy