KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > enterprise > server > pluggable > WebContainerFeatureFactory


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 package com.sun.enterprise.server.pluggable;
25
26 import com.sun.enterprise.admin.monitor.stats.WebModuleStats;
27 import com.sun.enterprise.web.HealthChecker;
28 import com.sun.enterprise.web.SSOFactory;
29 import com.sun.enterprise.web.WebContainer;
30 import com.sun.enterprise.web.WebContainerAdminEventProcessor;
31 import com.sun.enterprise.web.WebContainerStartStopOperation;
32 import com.sun.enterprise.web.VirtualServer;
33
34 /**
35  * Interface for getting webcontainer specific pluggable features.
36  */

37 public interface WebContainerFeatureFactory {
38
39     public WebModuleStats getWebModuleStats();
40     
41     public WebContainerAdminEventProcessor getWebContainerAdminEventProcessor();
42     
43     public WebContainerStartStopOperation getWebContainerStartStopOperation();
44     
45     public HealthChecker getHADBHealthChecker(WebContainer webContainer);
46
47     public VirtualServer getVirtualServer();
48     
49     public SSOFactory getSSOFactory();
50     
51     public String JavaDoc getSSLImplementationName();
52
53     /**
54      * Gets the default access log file prefix.
55      *
56      * @return The default access log file prefix
57      */

58     public String JavaDoc getDefaultAccessLogPrefix();
59
60     /**
61      * Gets the default access log file suffix.
62      *
63      * @return The default access log file suffix
64      */

65     public String JavaDoc getDefaultAccessLogSuffix();
66
67     /**
68      * Gets the default datestamp pattern to be applied to access log files.
69      *
70      * @return The default datestamp pattern to be applied to access log files
71      */

72     public String JavaDoc getDefaultAccessLogDateStampPattern();
73
74     /**
75      * Returns true if the first access log file and all subsequently rotated
76      * ones are supposed to be date-stamped, and false if datestamp is to be
77      * added only starting with the first rotation.
78      *
79      * @return true if first access log file and all subsequently rotated
80      * ones are supposed to be date-stamped, and false if datestamp is to be
81      * added only starting with the first rotation.
82      */

83     public boolean getAddDateStampToFirstAccessLogFile();
84
85     /**
86      * Gets the default rotation interval in minutes.
87      *
88      * @return The default rotation interval in minutes
89      */

90     public int getDefaultRotationIntervalInMinutes();
91 }
92
Popular Tags