EclipseLink 1.1.1_ 1.1.1.v20090430-r4097 API Reference

org.eclipse.persistence.services.weblogic
Class ClassSummaryDetail

java.lang.Object
  extended by org.eclipse.persistence.services.weblogic.ClassSummaryDetail

public class ClassSummaryDetail
extends java.lang.Object

The class is used internally by the Portable JMX Framework to convert model specific classes into Open Types so that the attributes of model class can be exposed by MBeans.


Constructor Summary
ClassSummaryDetail(java.lang.String className, java.lang.String cacheType, java.lang.String configuredSize, java.lang.String currentSize, java.lang.String parentClassName)
          Construct a ClassSummaryDetail instance.
 
Method Summary
static ClassSummaryDetail from(javax.management.openmbean.CompositeData cd)
          Create an instance of the model specific class out of an associated CompositeData instance
 java.lang.String getCacheType()
           
 java.lang.String getClassName()
           
 java.lang.String getConfiguredSize()
           
 java.lang.String getCurrentSize()
           
 java.lang.String getParentClassName()
           
 void setCacheType(java.lang.String cacheType)
           
 void setClassName(java.lang.String className)
           
 void setConfiguredSize(java.lang.String configuredSize)
           
 void setCurrentSize(java.lang.String currentSize)
           
 void setParentClassName(java.lang.String parentClassName)
           
 javax.management.openmbean.CompositeData toCompositeData(javax.management.openmbean.CompositeType ct)
          Convert an instance of this model specific type to a CompositeData.
static javax.management.openmbean.CompositeType toCompositeType()
          Returns the CompositeType that describes this model specific class
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassSummaryDetail

public ClassSummaryDetail(java.lang.String className,
                          java.lang.String cacheType,
                          java.lang.String configuredSize,
                          java.lang.String currentSize,
                          java.lang.String parentClassName)
Construct a ClassSummaryDetail instance. The PropertyNames annotation is used to be able to construct a ClassSummaryDetail instance out of a CompositeData instance. See MXBeans documentation for more details.

Method Detail

toCompositeType

public static javax.management.openmbean.CompositeType toCompositeType()
Returns the CompositeType that describes this model specific class


toCompositeData

public javax.management.openmbean.CompositeData toCompositeData(javax.management.openmbean.CompositeType ct)
Convert an instance of this model specific type to a CompositeData. This ensure that clients that do not have access to the model specific class can still use the MBean. The MXBean framework can perform this conversion automatically.

Parameters:
ct - - This parameter is for JDK 1.6 compatibility reasons

from

public static ClassSummaryDetail from(javax.management.openmbean.CompositeData cd)
Create an instance of the model specific class out of an associated CompositeData instance


getClassName

public java.lang.String getClassName()

getCacheType

public java.lang.String getCacheType()

getConfiguredSize

public java.lang.String getConfiguredSize()

getCurrentSize

public java.lang.String getCurrentSize()

getParentClassName

public java.lang.String getParentClassName()

setClassName

public void setClassName(java.lang.String className)

setCacheType

public void setCacheType(java.lang.String cacheType)

setConfiguredSize

public void setConfiguredSize(java.lang.String configuredSize)

setCurrentSize

public void setCurrentSize(java.lang.String currentSize)

setParentClassName

public void setParentClassName(java.lang.String parentClassName)

EclipseLink 1.1.1_ 1.1.1.v20090430-r4097 API Reference