KickJava   Java API By Example, From Geeks To Geeks.

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


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  * $Header: /cvs/glassfish/admin/mbeanapi-impl/src/java/com/sun/enterprise/management/support/oldconfig/OldLogServiceMBean.java,v 1.2 2005/12/25 03:41:05 tcfujii Exp $
31  * $Revision: 1.2 $
32  * $Date: 2005/12/25 03:41:05 $
33  */

34
35 package com.sun.enterprise.management.support.oldconfig;
36
37 /**
38     Generated: Wed Apr 14 23:49:02 PDT 2004
39     Generated from:
40     com.sun.appserv:type=log-service,config=server-config,category=config
41 */

42
43 import javax.management.ObjectName JavaDoc;
44 import javax.management.AttributeList JavaDoc;
45
46
47 public interface OldLogServiceMBean extends OldProperties
48 {
49     public boolean getAlarms();
50     public void setAlarms( final boolean value );
51
52     public String JavaDoc getFile();
53     public void setFile( final String JavaDoc value );
54
55     public String JavaDoc getLogFilter();
56     public void setLogFilter( final String JavaDoc value );
57
58     public String JavaDoc getLogHandler();
59     public void setLogHandler( final String JavaDoc value );
60
61     public String JavaDoc getLogRotationLimitInBytes();
62     public void setLogRotationLimitInBytes( final String JavaDoc value );
63
64     public boolean getLogToConsole();
65     public void setLogToConsole( final boolean value );
66
67     public boolean getUseSystemLogging();
68     public void setUseSystemLogging( final boolean value );
69
70
71 // -------------------- Operations --------------------
72
public ObjectName JavaDoc createModuleLogLevels( final AttributeList JavaDoc attribute_list );
73     public boolean destroyConfigElement();
74     public String JavaDoc getDefaultAttributeValue( final String JavaDoc attributeName );
75     public ObjectName JavaDoc getModuleLogLevels();
76     
77     
78     public void removeModuleLogLevels();
79     
80
81 }
Popular Tags