| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sun.management.oss.impl.pm.measurement.PerformanceAttributeDescriptorImpl
Title: JSR090 Reference Implementation Description: Copyright: Copyright (c) 2001 Company: Ericsson
| Field Summary | 
| Fields inherited from interface com.sun.management.oss.pm.measurement.PerformanceAttributeDescriptor | 
| BIGDECIMAL, BIGINTEGER, BOOLEAN, BYTE, CHARACTER, COMPOSITE_DATA, CUMULATIVE_COUNTER, DISCRETE_EVENT_REGISTRATION, DOUBLE, FLOAT, GAUGE, INTEGER, LONG, SHORT, STATUS_INSPECTION, STRING | 
| Constructor Summary | |
| PerformanceAttributeDescriptorImpl() | |
| PerformanceAttributeDescriptorImpl(java.lang.String collectionMethod) | |
| Method Summary | |
|  java.lang.Object | clone()Deep copy of this instance. | 
|  java.lang.String | getCollectionMethod()Returns the collection method. | 
|  java.lang.String | getName()Returns the performance attribute name. | 
|  java.lang.String[] | getSupportedSerializerTypes()Return all the serializer types than can be created by this factory. | 
|  int | getType()Returns the type of attribute. | 
|  boolean | isArray()Checks if the attribute is an array. | 
|  Serializer | makeSerializer(java.lang.String serializerType)Manufacture a Serializer for the object type inheriting the interface. | 
|  void | setCollectionMethod(java.lang.String collectionMethod)Sets the collection method. | 
|  void | setIsArray(boolean isArray)Sets if the attribute is an array. | 
|  void | setName(java.lang.String name)Sets the performance attribute name. | 
|  void | setType(int type)Sets the type of attribute. | 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public PerformanceAttributeDescriptorImpl(java.lang.String collectionMethod)
public PerformanceAttributeDescriptorImpl()
| Method Detail | 
public java.lang.Object clone()
PerformanceAttributeDescriptor
clone in interface PerformanceAttributeDescriptorpublic java.lang.String getCollectionMethod()
PerformanceAttributeDescriptor
getCollectionMethod in interface PerformanceAttributeDescriptorPerformanceAttributeDescriptor.setCollectionMethod(java.lang.String)public java.lang.String getName()
PerformanceAttributeDescriptor
getName in interface PerformanceAttributeDescriptorPerformanceAttributeDescriptor.setName(java.lang.String)public int getType()
PerformanceAttributeDescriptor
getType in interface PerformanceAttributeDescriptorPerformanceAttributeDescriptor.setType(int)public boolean isArray()
PerformanceAttributeDescriptor
isArray in interface PerformanceAttributeDescriptorPerformanceAttributeDescriptor.setIsArray(boolean)
public void setName(java.lang.String name)
             throws java.lang.IllegalArgumentException
PerformanceAttributeDescriptor
setName in interface PerformanceAttributeDescriptorname - The name of the attribute.
java.lang.IllegalArgumentException - Is raised if the input parameter is invalid.PerformanceAttributeDescriptor.getName()
public void setType(int type)
             throws java.lang.IllegalArgumentException
PerformanceAttributeDescriptorValid values are:
PerformanceAttributeDescriptor.BIGDECIMAL
 PerformanceAttributeDescriptor.BIGINTEGER
 PerformanceAttributeDescriptor.BOOLEAN
 PerformanceAttributeDescriptor.BYTE
 PerformanceAttributeDescriptor.CHARACTER
 PerformanceAttributeDescriptor.DOUBLE
 PerformanceAttributeDescriptor.FLOAT
 PerformanceAttributeDescriptor.INTEGER
 PerformanceAttributeDescriptor.LONG
 PerformanceAttributeDescriptor.SHORT
 PerformanceAttributeDescriptor.STRING
 PerformanceAttributeDescriptor.COMPOSITE_DATA
 
setType in interface PerformanceAttributeDescriptortype - The id of type.
java.lang.IllegalArgumentException - Is raised if the input parameter is invalid.PerformanceAttributeDescriptor.getType()
public void setCollectionMethod(java.lang.String collectionMethod)
                         throws java.lang.IllegalArgumentException
PerformanceAttributeDescriptorValid values are:
PerformanceAttributeDescriptor.CUMULATIVE_COUNTER
 PerformanceAttributeDescriptor.GAUGE
 PerformanceAttributeDescriptor.DISCRETE_EVENT_REGISTRATION
 PerformanceAttributeDescriptor.STATUS_INSPECTION
 
setCollectionMethod in interface PerformanceAttributeDescriptorcollectionMethod - The id of collection method.
java.lang.IllegalArgumentException - Is raised if the input parameter is invalid.PerformanceAttributeDescriptor.getCollectionMethod()public void setIsArray(boolean isArray)
PerformanceAttributeDescriptor
setIsArray in interface PerformanceAttributeDescriptorisArray - Is true if the attribute is an array..PerformanceAttributeDescriptor.isArray()public java.lang.String[] getSupportedSerializerTypes()
SerializerFactory
getSupportedSerializerTypes in interface SerializerFactory
public Serializer makeSerializer(java.lang.String serializerType)
                          throws java.lang.IllegalArgumentException
SerializerFactory
makeSerializer in interface SerializerFactoryserializerType - the class name of the serializer interface that must
  be created. For example XmlSerializer.getClass().getName()
java.lang.IllegalArgumentException - if no serializer can be created matching
 the provided Serializer Type.| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||