org.eclipse.persistence.services.weblogic
Class ClassSummaryDetail

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

public class ClassSummaryDetail
extends 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(String className, String cacheType, String configuredSize, String currentSize, String parentClassName)
          Construct a ClassSummaryDetail instance.
 
Method Summary
static ClassSummaryDetail from(CompositeData cd)
          Create an instance of the model specific class out of an associated CompositeData instance
 String getCacheType()
           
 String getClassName()
           
 String getConfiguredSize()
           
 String getCurrentSize()
           
 String getParentClassName()
           
 void setCacheType(String cacheType)
           
 void setClassName(String className)
           
 void setConfiguredSize(String configuredSize)
           
 void setCurrentSize(String currentSize)
           
 void setParentClassName(String parentClassName)
           
 CompositeData toCompositeData(CompositeType ct)
          Convert an instance of this model specific type to a CompositeData.
static CompositeType toCompositeType()
          Returns the CompositeType that describes this model specific class
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassSummaryDetail

public ClassSummaryDetail(String className,
                          String cacheType,
                          String configuredSize,
                          String currentSize,
                          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 CompositeType toCompositeType()
Returns the CompositeType that describes this model specific class


toCompositeData

public CompositeData toCompositeData(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(CompositeData cd)
Create an instance of the model specific class out of an associated CompositeData instance


getClassName

public String getClassName()

getCacheType

public String getCacheType()

getConfiguredSize

public String getConfiguredSize()

getCurrentSize

public String getCurrentSize()

getParentClassName

public String getParentClassName()

setClassName

public void setClassName(String className)

setCacheType

public void setCacheType(String cacheType)

setConfiguredSize

public void setConfiguredSize(String configuredSize)

setCurrentSize

public void setCurrentSize(String currentSize)

setParentClassName

public void setParentClassName(String parentClassName)