Management.java revision 394
58N/A * CDDL HEADER START 58N/A * The contents of this file are subject to the terms of the 58N/A * Common Development and Distribution License (the "License"). 58N/A * You may not use this file except in compliance with the License. 58N/A * language governing permissions and limitations under the License. 58N/A * When distributing Covered Code, include this CDDL HEADER in each 58N/A * If applicable, add the following below this CDDL HEADER, with the 58N/A * fields enclosed by brackets "[]" replaced with your own identifying 58N/A * information: Portions Copyright [yyyy] [name of copyright owner] 1252N/A * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 58N/A * Use is subject to license terms. 664N/A * The only constructor is private, so other classes will only get an 1026N/A * instance through the static factory method getInstance(). 773N/A * Static factory method to get an instance of Management. 773N/A * @param ogaProperties The properties to use 773N/A * @return A management instance to use 99N/A * Static factory method to get an instance of management. 1115N/A * Returns null if Management has not been initialized yet. 129N/A * Get a selected property from configuration. 129N/A * @return String with property value 335N/A * Set a selected property in the configuration. 480N/A * @param key the String key for the property to be set. 816N/A * $param value the String value for the property to be set. 1185N/A * Stops the agent, so it is not restarted. 129N/A * Get the time (in milliseconds since 1970) when the agent was started 129N/A * @return long time when the agent was started, in milliseconds. 335N/A * Get a Date object with the time the agent was started. 480N/A * @return Date with the starting date 58N/A * Get the version tag for the agent 937N/A * @return String the version tag for this agent