001: /*
002: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
003: *
004: * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
005: *
006: * The contents of this file are subject to the terms of either the GNU
007: * General Public License Version 2 only ("GPL") or the Common Development
008: * and Distribution License("CDDL") (collectively, the "License"). You
009: * may not use this file except in compliance with the License. You can obtain
010: * a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
011: * or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific
012: * language governing permissions and limitations under the License.
013: *
014: * When distributing the software, include this License Header Notice in each
015: * file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
016: * Sun designates this particular file as subject to the "Classpath" exception
017: * as provided by Sun in the GPL Version 2 section of the License file that
018: * accompanied this code. If applicable, add the following below the License
019: * Header, with the fields enclosed by brackets [] replaced by your own
020: * identifying information: "Portions Copyrighted [year]
021: * [name of copyright owner]"
022: *
023: * Contributor(s):
024: *
025: * If you wish your version of this file to be governed by only the CDDL or
026: * only the GPL Version 2, indicate your decision by adding "[Contributor]
027: * elects to include this software in this distribution under the [CDDL or GPL
028: * Version 2] license." If you don't indicate a single choice of license, a
029: * recipient has the option to distribute your version of this file under
030: * either the CDDL, the GPL Version 2 or to extend the choice of license to
031: * its licensees as provided above. However, if you add GPL Version 2 code
032: * and therefore, elected the GPL Version 2 license, then the option applies
033: * only if the new code is made subject to such option by the copyright
034: * holder.
035: */
036:
037: /*
038: * RuntimeConfigurationBean.java
039: */
040:
041: package com.sun.jbi.jsf.bean;
042:
043: import java.util.logging.Logger;
044: import com.sun.webui.jsf.component.TextField;
045: import com.sun.webui.jsf.component.Checkbox;
046: import com.sun.webui.jsf.component.PropertySheet;
047:
048: public class RuntimeConfigurationBean {
049: private TextField mHeartBeatInterval = null;
050: private Checkbox mEnableAutoInstall = null;
051: private Checkbox mStartOnDeploy = null;
052: private TextField mInstallationTimeout = null;
053: private TextField mComponentTimeout = null;
054: private Checkbox mEnableAutoDeploy = null;
055: private TextField mDeploymentTimeout = null;
056: private TextField mServiceUnitTimeout = null;
057:
058: public TextField getHeartBeatInterval() {
059: return mHeartBeatInterval;
060: }
061:
062: public void setHeartBeatInterval(TextField mValue) {
063: mHeartBeatInterval = mValue;
064: }
065:
066: public Checkbox getEnableAutoInstall() {
067: return mEnableAutoInstall;
068: }
069:
070: public void setEnableAutoInstall(Checkbox mValue) {
071: mEnableAutoInstall = mValue;
072: }
073:
074: public Checkbox getStartOnDeploy() {
075: return mStartOnDeploy;
076: }
077:
078: public void setStartOnDeploy(Checkbox mValue) {
079: mStartOnDeploy = mValue;
080: }
081:
082: public TextField getInstallationTimeout() {
083: return mInstallationTimeout;
084: }
085:
086: public void setInstallationTimeout(TextField mValue) {
087: mInstallationTimeout = mValue;
088: }
089:
090: public TextField getComponentTimeout() {
091: return mComponentTimeout;
092: }
093:
094: public void setComponentTimeout(TextField mValue) {
095: mComponentTimeout = mValue;
096: }
097:
098: public Checkbox getEnableAutoDeploy() {
099: return mEnableAutoDeploy;
100: }
101:
102: public void setEnableAutoDeploy(Checkbox mValue) {
103: mEnableAutoDeploy = mValue;
104: }
105:
106: public TextField getDeploymentTimeout() {
107: return mDeploymentTimeout;
108: }
109:
110: public void setDeploymentTimeout(TextField mValue) {
111: mDeploymentTimeout = mValue;
112: }
113:
114: public TextField getServiceUnitTimeout() {
115: return mServiceUnitTimeout;
116: }
117:
118: public void setServiceUnitTimeout(TextField mValue) {
119: mServiceUnitTimeout = mValue;
120: }
121:
122: public void setRuntimeMonitoringFWStatsPS(
123: PropertySheet aPropertySheet) {
124: mRuntimeMonitoringFWStatsPS = aPropertySheet;
125: }
126:
127: public PropertySheet getRuntimeMonitoringFWStatsPS() {
128: return mRuntimeMonitoringFWStatsPS;
129: }
130:
131: public void setRuntimeMonitoringNMRStatsPS(
132: PropertySheet aPropertySheet) {
133: mRuntimeMonitoringNMRStatsPS = aPropertySheet;
134: }
135:
136: public PropertySheet getRuntimeMonitoringNMRStatsPS() {
137: return mRuntimeMonitoringNMRStatsPS;
138: }
139:
140: private PropertySheet mRuntimeMonitoringFWStatsPS;
141: private PropertySheet mRuntimeMonitoringNMRStatsPS;
142:
143: }
|