Module org.eclipse.persistence.core
Package org.eclipse.persistence.services
Class ClassSummaryDetailBase
java.lang.Object
org.eclipse.persistence.services.ClassSummaryDetailBase
- Direct Known Subclasses:
ClassSummaryDetail,ClassSummaryDetail,ClassSummaryDetail,ClassSummaryDetail,ClassSummaryDetail
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.
- Since:
- EclipseLink 2.1.1
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static StringMust override in subclassprotected static StringMust override in subclassprotected static CompositeTypeprotected static final String[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ClassSummaryDetailfrom(CompositeData cd) Create an instance of the model specific class out of an associated CompositeData instancevoidsetCacheType(String cacheType) voidsetClassName(String className) voidsetConfiguredSize(String configuredSize) voidsetCurrentSize(String currentSize) voidsetParentClassName(String parentClassName) Convert an instance of this model specific type to a CompositeData.static CompositeTypeReturns the CompositeType that describes this model specific class
-
Field Details
-
COMPOSITE_TYPE_TYPENAME
Must override in subclass -
COMPOSITE_TYPE_DESCRIPTION
Must override in subclass -
cType_
-
itemNames_
-
-
Constructor Details
-
ClassSummaryDetailBase
protected ClassSummaryDetailBase(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 Details
-
toCompositeType
Returns the CompositeType that describes this model specific class -
from
Create an instance of the model specific class out of an associated CompositeData instance -
toCompositeData
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
-
getClassName
-
getCacheType
-
getConfiguredSize
-
getCurrentSize
-
getParentClassName
-
setClassName
-
setCacheType
-
setConfiguredSize
-
setCurrentSize
-
setParentClassName
-