KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > enterprise > deployment > DescriptorConstants


1 /*
2  * The contents of this file are subject to the terms
3  * of the Common Development and Distribution License
4  * (the License). You may not use this file except in
5  * compliance with the License.
6  *
7  * You can obtain a copy of the license at
8  * https://glassfish.dev.java.net/public/CDDLv1.0.html or
9  * glassfish/bootstrap/legal/CDDLv1.0.txt.
10  * See the License for the specific language governing
11  * permissions and limitations under the License.
12  *
13  * When distributing Covered Code, include this CDDL
14  * Header Notice in each file and include the License file
15  * at glassfish/bootstrap/legal/CDDLv1.0.txt.
16  * If applicable, add the following below the CDDL Header,
17  * with the fields enclosed by brackets [] replaced by
18  * you own identifying information:
19  * "Portions Copyrighted [year] [name of copyright owner]"
20  *
21  * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
22  */

23
24 /*
25  * @(#) DescriptorConstants.java
26  *
27  * Copyright 2000-2001 by iPlanet/Sun Microsystems, Inc.,
28  * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
29  * All rights reserved.
30  *
31  * This software is the confidential and proprietary information
32  * of iPlanet/Sun Microsystems, Inc. ("Confidential Information").
33  * You shall not disclose such Confidential Information and shall
34  * use it only in accordance with the terms of the license
35  * agreement you entered into with iPlanet/Sun Microsystems.
36  */

37 package com.sun.enterprise.deployment;
38
39 import java.io.File JavaDoc;
40
41 /**
42  * Contains all deployment descriptor constants.
43  *
44  * @author Nazrul Islam
45  * @since JDK1.4
46  */

47 public interface DescriptorConstants {
48
49     /**
50      * Bean Pool - maximum size, a pool of slsb can grow to.
51      */

52     int MAX_POOL_SIZE_DEFAULT = -1;
53     
54     /**
55      * Bean Pool - maximum time a caller will have to wait when pool
56      * has reached maximum configured size and an instance is not
57      * available to process the incoming request.
58      */

59     int MAX_WAIT_TIME_DEFAULT = -1;
60     
61     /**
62      * Bean Pool - size of slsb pool grows in increments specified by
63      * resize-quantity, within the configured upper limit max-pool-size.
64      */

65     int POOL_RESIZE_QTY_DEFAULT = -1;
66     
67     /**
68      * Bean Pool - minimum number of slsb instances maintained in a pool.
69      */

70     int STEADY_POOL_SIZE_DEFAULT = -1;
71     
72     /**
73      * Bean Pool - idle bean instance in a pool becomes a candidate for
74      * passivation (sfsb/eb) or deletion (slsb), when this timeout expires.
75      */

76     int POOL_IDLE_TIMEOUT_DEFAULT = -1;
77     
78     /**
79      * Bean Cache - sfsb and eb are created and cached, on demand.
80      */

81     int MAX_CACHE_SIZE_DEFAULT = -1;
82     
83     /**
84      * Bean Cache - resize quantity
85      */

86     int RESIZE_QUANTITY_DEFAULT = -1;
87     
88     /**
89      * Bean Cache - Passivated bean (sfsb/eb) instance is removed if it
90      * is not accesed within this time, after passivation
91      */

92     int REMOVAL_TIMEOUT_DEFAULT = -1;
93     
94     /**
95      * Bean Cache - idle bean instance in a pool becomes a candidate for
96      * passivation (sfsb/eb) or deletion (slsb), when this timeout expires.
97      */

98     int CACHE_IDLE_TIMEOUT_DEFAULT = -1;
99     
100     /**
101      * ejb - refresh period in seconds
102      */

103     int REFRESH_PERIOD_IN_SECONDS_DEFAULT = -1;
104 }
105
Popular Tags