KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > enterprise > admin > mbeans > DomainDiagnosticsMBean


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 package com.sun.enterprise.admin.mbeans;
24 import java.util.List JavaDoc;
25 import java.util.Map JavaDoc;
26 import java.util.zip.ZipFile JavaDoc;
27 /**
28  * @author Sreenivas Munnangi
29  */

30
31 public interface DomainDiagnosticsMBean {
32
33     /**
34      * Generates Diagnostic Report
35      * Following are the keys expected in the input
36      * logstartdate = log start date : Date in MM/DD/YY format from which
37      * server.log is collected.
38      * logenddate = log end date : Date in MM/DD/YY format to which
39      * server.log is collected.
40      * bugids = bugids : list of bug ids separataed by comma
41      * target = target could be a domain, a cluster, a node agent or a instance
42      * input = Input specified by the user in admin GUI : String
43      * @param input input specified by the user
44      * @return zip containing diagnostic report
45      * @throw DiagnosticException
46      */

47     public String JavaDoc generateReport(Map JavaDoc input) throws Exception JavaDoc ;
48     
49     /**
50      * @return list of attributes being masked with ****
51      * @throw DiagnosticException
52      */

53     public List JavaDoc<String JavaDoc> getConfidentialProperties() throws Exception JavaDoc;
54     
55 }
56
Popular Tags