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

com.sun.enterprise.config.serverbeans.DasConfig Maven / Gradle / Ivy

There is a newer version: 8.0.0-JDK17-M7
Show newest version
/*
 * Copyright (c) 2023 Contributors to the Eclipse Foundation
 * Copyright (c) 1997, 2020 Oracle and/or its affiliates. All rights reserved.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v. 2.0, which is available at
 * http://www.eclipse.org/legal/epl-2.0.
 *
 * This Source Code may also be made available under the following Secondary
 * Licenses when the conditions for such availability set forth in the
 * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
 * version 2 with the GNU Classpath Exception, which is available at
 * https://www.gnu.org/software/classpath/license.html.
 *
 * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
 */

package com.sun.enterprise.config.serverbeans;

import jakarta.validation.constraints.Min;

import java.beans.PropertyVetoException;
import java.util.List;

import org.glassfish.api.admin.config.PropertiesDesc;
import org.glassfish.quality.ToDo;
import org.jvnet.hk2.config.Attribute;
import org.jvnet.hk2.config.Element;
import org.jvnet.hk2.config.Configured;
import org.jvnet.hk2.config.ConfigBeanProxy;
import org.jvnet.hk2.config.types.Property;
import org.jvnet.hk2.config.types.PropertyBag;

/**
 *
 */
@Configured
public interface DasConfig extends ConfigBeanProxy, PropertyBag {

    /**
     * Gets the value of the {@code dynamicReloadEnabled} property.
     *
     * 

When {@code true}, server checks timestamp on a {@code .reload} file at every * module and application directory level to trigger reload. Polling frequency * is controlled by {@code reload-poll-interval-in-seconds}. * * @return possible object is {@link String} */ @Attribute(defaultValue = "true", dataType = Boolean.class) String getDynamicReloadEnabled(); /** * Sets the value of the {@code dynamicReloadEnabled} property. * * @param dynamicReloadEnabled allowed object is {@link String} */ void setDynamicReloadEnabled(String dynamicReloadEnabled) throws PropertyVetoException; /** * Gets the value of the {@code dynamicReloadPollIntervalInSeconds} property. * *

Maximum period, in seconds, that a change to the load balancer configuration * file takes before it is detected by the load balancer and the file reloaded. * A value of {@code 0} indicates that reloading is disabled. Default period * is 1 minute (60). * * @return possible object is {@link String} */ @Attribute(defaultValue = "2", dataType = Integer.class) @Min(value = 1) String getDynamicReloadPollIntervalInSeconds(); /** * Sets the value of the {@code dynamicReloadPollIntervalInSeconds} property. * * @param dynamicReloadPollInterval allowed object is {@link String} */ void setDynamicReloadPollIntervalInSeconds(String dynamicReloadPollInterval) throws PropertyVetoException; /** * Gets the value of the {@code autodeployEnabled} property. * *

This will enable the autodeployment service. If {@code true}, the service will * automatically starts with the admin-server. Auto Deployment is a feature that enables * developers to quickly deploy applications and modules to a running application server * without requiring the developer to perform an explicit application server restart * or separate deployment operation. * * @return possible object is {@link String} */ @Attribute(defaultValue = "true", dataType = Boolean.class) String getAutodeployEnabled(); /** * Sets the value of the {@code autodeployEnabled} property. * * @param autodeployEnabled allowed object is {@link String} */ void setAutodeployEnabled(String autodeployEnabled) throws PropertyVetoException; /** * Gets the value of the {@code autodeployPollingIntervalInSeconds} property. * *

The polling interval (in sec), at the end of which autodeployment service * will scan the source directory (specified by "autodeploy-dir" tag) for * any new deployable component. * * @return possible object is {@link String} */ @Attribute(defaultValue = "2", dataType = Integer.class) @Min(value = 1) String getAutodeployPollingIntervalInSeconds(); /** * Sets the value of the {@code autodeployPollingIntervalInSeconds} property. * * @param autodeployPollingInterval allowed object is {@link String} */ void setAutodeployPollingIntervalInSeconds(String autodeployPollingInterval) throws PropertyVetoException; /** * Gets the value of the {@code autodeployDir} property. * *

The source directory (relative to instance root) from which autodeploy * service will pick deployable components. You can also specify an absolute directory. * * @return possible object is {@link String} */ @Attribute(defaultValue = "${com.sun.aas.instanceRoot}/autodeploy") String getAutodeployDir(); /** * Sets the value of the {@code autodeployDir} property. * * @param autodeployDir allowed object is {@link String} */ void setAutodeployDir(String autodeployDir) throws PropertyVetoException; /** * Gets the value of the {@code autodeployVerifierEnabled} property. * *

To enable/disable verifier, during auto-deployment. * *

If {@code true}, verification will be done before any deployment activity. * In the event of any verifier test failure, deployment is not performed. * * @return possible object is {@link String} */ @Attribute(defaultValue = "false", dataType = Boolean.class) String getAutodeployVerifierEnabled(); /** * Sets the value of the {@code autodeployVerifierEnabled} property. * * @param autodeployVerifierEnabled allowed object is {@link String} */ void setAutodeployVerifierEnabled(String autodeployVerifierEnabled) throws PropertyVetoException; /** * Gets the value of the {@code autodeployJspPrecompilationEnabled} property. * *

If {@code true}, JSPs will be pre compiled during deployment of war module(s). * * @return possible object is {@link String} */ @Attribute(defaultValue = "false", dataType = Boolean.class) String getAutodeployJspPrecompilationEnabled(); /** * Sets the value of the {@code autodeployJspPrecompilationEnabled} property. * * @param jspPrecompilationEnabled allowed object is {@link String} */ void setAutodeployJspPrecompilationEnabled(String jspPrecompilationEnabled) throws PropertyVetoException; /** * Gets the value of the {@code autodeployRetryTimeout} property. * * @return possible object is {@link String} */ @Attribute(defaultValue = "4", dataType = Integer.class) String getAutodeployRetryTimeout(); /** * Sets the value of the {@code autodeployRetryTimeout} property. * * @param autodeployRetryTimeout allowed object is {@link String} */ void setAutodeployRetryTimeout(String autodeployRetryTimeout) throws PropertyVetoException; /** * Gets the value of the {@code deployXmlValidation} property. * *

Specifies if descriptor validation is required or not. Full xml will be * validated and in case of xml validation errors, deployment will fail * parsing xml errors will be reported but deployment process will continue. * None no xml validation will be performed on the standard or runtime deployment * descriptors. * * @return possible object is {@link String} */ @Attribute(defaultValue = "full") String getDeployXmlValidation(); /** * Sets the value of the {@code deployXmlValidation} property. * * @param deployXmlValidation allowed object is {@link String} */ void setDeployXmlValidation(String deployXmlValidation) throws PropertyVetoException; /** * Gets the value of the {@code adminSessionTimeoutInMinutes} property. * *

Timeout in minutes indicating the administration gui session timeout. * * @return possible object is {@link String} */ @Attribute(defaultValue = "60") String getAdminSessionTimeoutInMinutes(); /** * Sets the value of the {@code adminSessionTimeoutInMinutes} property. * * @param adminSessionTimeout allowed object is {@link String} */ void setAdminSessionTimeoutInMinutes(String adminSessionTimeout) throws PropertyVetoException; /** * Properties as per {@link PropertyBag} */ @ToDo(priority = ToDo.Priority.IMPORTANT, details = "Provide PropertyDesc for legal props") @PropertiesDesc(props = {}) @Element List getProperty(); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy