|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.management.oss.impl.pm.opstatus.OperationalStatusAttributeDescriptorImpl
Title: JSR090 Reference Implementation Description: Copyright: Copyright (c) 2001 Company: Ericsson
Field Summary |
Fields inherited from interface com.sun.management.oss.pm.opstatus.OperationalStatusAttributeDescriptor |
CUMULATIVE_COUNTER, DISCRETE_EVENT_REGISTRATION, GAUGE, INTEGER, LONG, STATUS_INSPECTION |
Constructor Summary | |
OperationalStatusAttributeDescriptorImpl()
|
|
OperationalStatusAttributeDescriptorImpl(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 OperationalStatusAttributeDescriptorImpl(java.lang.String collectionMethod)
public OperationalStatusAttributeDescriptorImpl()
Method Detail |
public java.lang.Object clone()
OperationalStatusAttributeDescriptor
clone
in interface OperationalStatusAttributeDescriptor
public java.lang.String getCollectionMethod()
OperationalStatusAttributeDescriptor
getCollectionMethod
in interface OperationalStatusAttributeDescriptor
OperationalStatusAttributeDescriptor.setCollectionMethod(java.lang.String)
public java.lang.String getName()
OperationalStatusAttributeDescriptor
getName
in interface OperationalStatusAttributeDescriptor
OperationalStatusAttributeDescriptor.setName(java.lang.String)
public int getType()
OperationalStatusAttributeDescriptor
getType
in interface OperationalStatusAttributeDescriptor
OperationalStatusAttributeDescriptor.setType(int)
public boolean isArray()
OperationalStatusAttributeDescriptor
isArray
in interface OperationalStatusAttributeDescriptor
OperationalStatusAttributeDescriptor.setIsArray(boolean)
public void setName(java.lang.String name) throws java.lang.IllegalArgumentException
OperationalStatusAttributeDescriptor
setName
in interface OperationalStatusAttributeDescriptor
name
- The name of the attribute.
java.lang.IllegalArgumentException
- Is raised if the input parameter is invalid.OperationalStatusAttributeDescriptor.getName()
public void setType(int type) throws java.lang.IllegalArgumentException
OperationalStatusAttributeDescriptor
Valid values are:
OperationalStatusAttributeDescriptor.INTEGER
OperationalStatusAttributeDescriptor.REAL
OperationalStatusAttributeDescriptor.STRING
setType
in interface OperationalStatusAttributeDescriptor
type
- The id of type.
java.lang.IllegalArgumentException
- Is raised if the input parameter is invalid.OperationalStatusAttributeDescriptor.getType()
public void setCollectionMethod(java.lang.String collectionMethod) throws java.lang.IllegalArgumentException
OperationalStatusAttributeDescriptor
Valid values are:
OperationalStatusAttributeDescriptor.CUMULATIVE_COUNTER
OperationalStatusAttributeDescriptor.GAUGE
OperationalStatusAttributeDescriptor.DISCRETE_EVENT_REGISTRATION
OperationalStatusAttributeDescriptor.STATUS_INSPECTION
setCollectionMethod
in interface OperationalStatusAttributeDescriptor
collectionMethod
- The id of collection method.
java.lang.IllegalArgumentException
- Is raised if the input parameter is invalid.OperationalStatusAttributeDescriptor.getCollectionMethod()
public void setIsArray(boolean isArray)
OperationalStatusAttributeDescriptor
setIsArray
in interface OperationalStatusAttributeDescriptor
isArray
- Is true if the attribute is an array..OperationalStatusAttributeDescriptor.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 SerializerFactory
serializerType
- 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 |