org.wildfly.swarm.config.Ee Maven / Gradle / Ivy
package org.wildfly.swarm.config;
import org.wildfly.config.runtime.Implicit;
import org.wildfly.config.runtime.ResourceType;
import org.wildfly.config.runtime.ModelNodeBinding;
import java.util.List;
import java.util.Map;
import org.wildfly.config.runtime.Subresource;
import org.wildfly.swarm.config.ee.ManagedThreadFactory;
import org.wildfly.swarm.config.ee.ContextService;
import org.wildfly.swarm.config.ee.ManagedExecutorService;
import org.wildfly.swarm.config.ee.ManagedScheduledExecutorService;
import org.wildfly.swarm.config.ee.DefaultBindingsService;
/**
* The configuration of the EE subsystem.
*/
@ResourceType("subsystem")
@Implicit
public class Ee {
private String key;
private Boolean annotationPropertyReplacement;
private Boolean earSubdeploymentsIsolated;
private List globalModules;
private Boolean jbossDescriptorPropertyReplacement;
private Boolean specDescriptorPropertyReplacement;
private EeResources subresources = new EeResources();
private DefaultBindingsService defaultBindingsService;
public Ee() {
this.key = "ee";
}
public String getKey() {
return this.key;
}
/**
* Flag indicating whether Java EE annotations will have property replacements applied
*/
@ModelNodeBinding(detypedName = "annotation-property-replacement")
public Boolean annotationPropertyReplacement() {
return this.annotationPropertyReplacement;
}
/**
* Flag indicating whether Java EE annotations will have property replacements applied
*/
@SuppressWarnings("unchecked")
public T annotationPropertyReplacement(Boolean value) {
this.annotationPropertyReplacement = value;
return (T) this;
}
/**
* Flag indicating whether each of the subdeployments within a .ear can access classes belonging to another subdeployment within the same .ear. A value of false means the subdeployments can see classes belonging to other subdeployments within the .ear.
*/
@ModelNodeBinding(detypedName = "ear-subdeployments-isolated")
public Boolean earSubdeploymentsIsolated() {
return this.earSubdeploymentsIsolated;
}
/**
* Flag indicating whether each of the subdeployments within a .ear can access classes belonging to another subdeployment within the same .ear. A value of false means the subdeployments can see classes belonging to other subdeployments within the .ear.
*/
@SuppressWarnings("unchecked")
public T earSubdeploymentsIsolated(Boolean value) {
this.earSubdeploymentsIsolated = value;
return (T) this;
}
/**
* A list of modules that should be made available to all deployments.
*/
@ModelNodeBinding(detypedName = "global-modules")
public List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy