1 /* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9 * or http://www.opensolaris.org/os/licensing. 10 * See the License for the specific language governing permissions 11 * and limitations under the License. 12 * 13 * When distributing Covered Code, include this CDDL HEADER in each 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15 * If applicable, add the following below this CDDL HEADER, with the 16 * fields enclosed by brackets "[]" replaced with your own identifying 17 * information: Portions Copyright [yyyy] [name of copyright owner] 18 * 19 * CDDL HEADER END 20 */ 21 /* 22 * Copyright (c) 2001 by Sun Microsystems, Inc. 23 * All rights reserved. 24 * 25 * SRMProviderProperties.java 26 */ 27 28 29 package com.sun.wbem.solarisprovider.srm; 30 31 /** 32 * This class defines common properties used in Acacia 33 * providers. 34 * @author SMI 35 */ 36 public interface SRMProviderProperties { 37 38 // Solaris classes 39 40 /** 41 * CIM class name 42 */ 43 static final String SOLARIS_ACTIVEPROJECT = "Solaris_ActiveProject"; 44 45 /** 46 * CIM class name 47 */ 48 static final String SOLARIS_ACTIVEUSER = "Solaris_ActiveUser"; 49 50 /** 51 * CIM class name 52 */ 53 static final String SOLARIS_ACTIVEUSERPROCESSAGGREGATESTATISTICS = 54 "Solaris_ActiveUserProcessAggregateStatistics"; 55 56 /** 57 * CIM class name 58 */ 59 static final String SOLARIS_ACTIVEPROJECTPROCESSAGGREGATESTATISTICS = 60 "Solaris_ActiveProjectProcessAggregateStatistics"; 61 62 /** 63 * CIM class name 64 */ 65 static final String SOLARIS_PROCESSSTATISTICS = 66 "Solaris_ProcessStatistics"; 67 68 /** 69 * CIM class name 70 */ 71 static final String SOLARIS_PROCESSSTATISTICALINFORMATION = 72 "Solaris_ProcessStatisticalInformation"; 73 74 /** 75 * CIM class name 76 */ 77 static final String SOLARIS_PROCESS = 78 "Solaris_Process"; 79 80 /** 81 * CIM class name 82 */ 83 static final String SOLARIS_PROCESSAGGREGATESTATISTICALINFORMATION = 84 "Solaris_ProcessAggregateStatisticalInformation"; 85 86 /** 87 * CIM class name 88 */ 89 static final String SOLARIS_USERPROCESSAGGREGATESTATISTICALINFORMATION = 90 "Solaris_UserProcessAggregateStatisticalInformation"; 91 92 /** 93 * CIM class name 94 */ 95 static final String SOLARIS_PROJECTPROCESSAGGREGATESTATISTICALINFORMATION = 96 "Solaris_ProjectProcessAggregateStatisticalInformation"; 97 98 /** 99 * CIM class name 100 */ 101 static final String SOLARIS_PROCESSAGGREGATESTATISTICS = 102 "Solaris_ProcessAggregateStatistics"; 103 104 105 // Common properties 106 107 /** 108 * Reference to the monitoring object 109 */ 110 static final String ELEMENT = "Element"; 111 112 /** 113 * Reference to the statistical information object 114 */ 115 static final String STATS = "Stats"; 116 static final String NAME = "Name"; 117 118 /** 119 * The scoping ComputerSystem's CreationClassName. 120 */ 121 static final String CSCREATIONCLASSNAME = "CSCreationClassName"; 122 123 /** 124 * The scoping ComputerSystem's Name. 125 */ 126 static final String CSNAME = "CSName"; 127 128 /** 129 * The key of CSNAME property in RDS protocol 130 */ 131 static final String CSNAME_KEY = "sys_name"; 132 133 /** 134 * The scoping OperatingSystem's CreationClassName. 135 */ 136 static final String OSCREATIONCLASSNAME = "OSCreationClassName"; 137 138 /** 139 * The scoping OperatingSystem's Name. 140 */ 141 static final String OSNAME = "OSName"; 142 143 /** 144 * The key of OSNAME property in RDS protocol 145 */ 146 static final String OSNAME_KEY = "sys_nodename"; 147 148 /** 149 * CreationClassName indicates the name of the class or the subclass 150 * used in the creation of an instance. When used with the other key 151 * properties of this class, this property allows all instances of 152 * this class and its subclasses to be uniquely identified. 153 */ 154 static final String CREATIONCLASSNAME = "CreationClassName"; 155 156 /** 157 * The scoping ComputerSystem's CreationClassName. 158 */ 159 static final String SYSTEMCREATIONCLASSNAME = "SystemCreationClassName"; 160 161 /** 162 * The scoping ComputerSystem's Name. 163 */ 164 static final String SYSTEMNAME = "SystemName"; 165 166 167 // properties in the CIM_ManagedElement supersupersuperclass 168 169 /** 170 * The Caption property is a short textual description (one-line string 171 * of the object. 172 */ 173 static String CAPTION = "Caption"; 174 175 /** 176 * The Description property provides a textual description of the object. 177 */ 178 static String DESCRIPTION = "Description"; 179 180 181 // properties in the CIM_ManagedSystemElement supersuperclass 182 183 /** 184 * A datetime value indicating when the object was installed. A lack of 185 * a value does not indicate that the object is not installed. 186 */ 187 static String INSTALL_DATE = "InstallDate"; 188 189 static String STATUS = "Status"; 190 191 192 // properties in the CIM_Process 193 static String HANDLE = "Handle"; 194 195 196 // common properties value 197 198 /** 199 * Value of the SOLARIS_CSCREATIONCLASSNAME property 200 */ 201 static String SOLARIS_COMPUTERSYSTEM = "Solaris_ComputerSystem"; 202 203 /** 204 * Value of the SOLARIS_OSCREATIONCLASSNAME property 205 */ 206 static String SOLARIS_OPERATINGSYSTEM = "Solaris_OperatingSystem"; 207 208 209 // common constants 210 static String NAMESPACE = "root/cimv2"; 211 } 212