KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > enterprise > management > support > oldconfig > OldHTTPFileCacheMBean


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  * Copyright 2004-2005 Sun Microsystems, Inc. All rights reserved.
26  * Use is subject to license terms.
27  */

28
29 /**
30     Generated: Wed May 05 15:31:12 PDT 2004
31     Generated from:
32     com.sun.appserv:type=http-file-cache,config=server-config,category=config
33 */

34
35 package com.sun.enterprise.management.support.oldconfig;
36
37 import javax.management.NotificationListener JavaDoc;
38 import javax.management.NotificationFilter JavaDoc;
39
40
41 public interface OldHTTPFileCacheMBean
42 {
43     public String JavaDoc getFileCachingEnabled();
44     public void setFileCachingEnabled( final String JavaDoc value );
45
46     public boolean getFileTransmissionEnabled();
47     public void setFileTransmissionEnabled( final boolean value );
48
49     public boolean getGloballyEnabled();
50     public void setGloballyEnabled( final boolean value );
51
52     public String JavaDoc getHashInitSize();
53     public void setHashInitSize( final String JavaDoc value );
54
55     public String JavaDoc getMaxAgeInSeconds();
56     public void setMaxAgeInSeconds( final String JavaDoc value );
57
58     public String JavaDoc getMaxFilesCount();
59     public void setMaxFilesCount( final String JavaDoc value );
60
61     public String JavaDoc getMediumFileSizeLimitInBytes();
62     public void setMediumFileSizeLimitInBytes( final String JavaDoc value );
63
64     public String JavaDoc getMediumFileSpaceInBytes();
65     public void setMediumFileSpaceInBytes( final String JavaDoc value );
66
67     public String JavaDoc getSmallFileSizeLimitInBytes();
68     public void setSmallFileSizeLimitInBytes( final String JavaDoc value );
69
70     public String JavaDoc getSmallFileSpaceInBytes();
71     public void setSmallFileSpaceInBytes( final String JavaDoc value );
72
73
74 // -------------------- Operations --------------------
75
public void addNotificationListener( final NotificationListener JavaDoc param1, final NotificationFilter JavaDoc param2, final Object JavaDoc param3 );
76     public boolean destroyConfigElement();
77     public String JavaDoc getDefaultAttributeValue( final String JavaDoc attributeName );
78     public javax.management.MBeanNotificationInfo JavaDoc[] getNotificationInfo();
79     public void removeNotificationListener( final NotificationListener JavaDoc param1 );
80     public void removeNotificationListener( final NotificationListener JavaDoc param1, final NotificationFilter JavaDoc param2, final Object JavaDoc param3 );
81     public void sendNotification( final javax.management.Notification JavaDoc param1 );
82
83 }
Popular Tags