Class MessageOpenTypeFactory<M extends Message>
java.lang.Object
org.apache.activemq.artemis.core.message.openmbean.MessageOpenTypeFactory<M>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected TabularTypeprotected TabularTypeprotected TabularTypeprotected TabularTypeprotected TabularTypeprotected TabularTypeprotected TabularTypeprotected TabularTypeprotected Object[][] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected CompositeTypeprotected TabularDataSupportcreateTabularData(Map<String, Object> entries, TabularType type, Class valueType) protected CompositeDataSupportcreateTabularRowValue(TabularType type, String key, Object value) protected <T> TabularTypecreateTabularType(Class<T> type, OpenType openType) expandProperties(M m, int valueSizeLimit) protected Stringprotected Stringprotected voidinit()protected String
-
Field Details
-
stringPropertyTabularType
-
booleanPropertyTabularType
-
bytePropertyTabularType
-
shortPropertyTabularType
-
intPropertyTabularType
-
longPropertyTabularType
-
floatPropertyTabularType
-
doublePropertyTabularType
-
typedPropertyFields
-
-
Constructor Details
-
MessageOpenTypeFactory
public MessageOpenTypeFactory()
-
-
Method Details
-
getTypeName
-
getCompositeType
- Throws:
OpenDataException
-
init
- Throws:
OpenDataException
-
getFields
public Map<String,Object> getFields(M m, int valueSizeLimit, int deliveryCount) throws OpenDataException - Throws:
OpenDataException
-
expandProperties
-
toString
-
createCompositeType
- Throws:
OpenDataException
-
getDescription
-
createTabularType
protected <T> TabularType createTabularType(Class<T> type, OpenType openType) throws OpenDataException - Throws:
OpenDataException
-
createTabularData
protected TabularDataSupport createTabularData(Map<String, Object> entries, TabularType type, Class valueType) throws IOException, OpenDataException- Throws:
IOExceptionOpenDataException
-
createTabularRowValue
protected CompositeDataSupport createTabularRowValue(TabularType type, String key, Object value) throws OpenDataException - Throws:
OpenDataException
-
addItem
-