ServerReportService.java revision b87033953be26b0dc7dead8febd499b666a54126
/**
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2008 Sun Microsystems Inc. All Rights Reserved
*
* The contents of this file are subject to the terms
* of the Common Development and Distribution License
* (the License). You may not use this file except in
* compliance with the License.
*
* You can obtain a copy of the License at
* See the License for the specific language governing
* permission and limitations under the License.
*
* When distributing Covered Code, include this CDDL
* Header Notice in each file and include the License file
* at opensso/legal/CDDLv1.0.txt.
* If applicable, add the following below the CDDL Header,
* with the fields enclosed by brackets [] replaced by
* your own identifying information:
* "Portions Copyrighted [year] [name of copyright owner]"
*
* $Id: ServerReportService.java,v 1.2 2009/11/13 21:57:40 ak138937 Exp $
*
*/
/*
* Portions Copyrighted [2011] [ForgeRock AS]
*/
/**
* This class contains the implementation of a reports service
* that can be realized in the Diagnostic tool application.
*
*/
public class ServerReportService implements ToolConstants,
private ToolContext tContext;
private static IToolOutput toolOutWriter;
private ResourceBundle rb;
/** Creates a new instance of ServerReportService */
public ServerReportService() {
}
/**
* This is called once during service activation.
* It caches the given <code>ToolContext</code>.
*
* @param tContext ToolContext in which this service runs.
*/
}
/**
* This is called once during application start up.
* Starts up the report service.
*/
public void start() {
}
/**
* This is method that processes the given request.
*
* @param sReq ServiceRequest object containing input params
* @param sRes ServiceResponse object containg output results
* @throws Exception if the exception occurs.
*/
public void processRequest(
) throws Exception {
try {
}
}
} catch (Exception e) {
e.getMessage());
}
}
private String getBootFileName(
) throws Exception {
try {
//server bootfile
} else {
//agent bootfile
}
throw new Exception(
}
} catch (Exception e) {
throw e;
}
return fName;
}
/**
* This is called once during application shutdown.
*/
public void stop() {
}
static IToolOutput getToolWriter() {
return toolOutWriter;
}
private Map getValidators() {
try {
}
}
}
}
}
"ServerReportService.getValidators: " +
"Unable to read opcode-to-class cofiguration file",
ioe);
} finally {
try {
}
}
}
return opCodeToClass;
}
}