[Design of POJO Server] - Re: General Discussion on MetaTypes assigned to certain Mana
by bytor99999
The same as the last post with Destinations for
messageCounters=ManagedProperty{messageCounters,messageCounters,metaType=MutableCompositeMetaType{org.jboss.jms.server.messagecounter.MessageCounter items=[name=count type=java.lang.Integer], [name=countDelta type=java.lang.Integer], [name=counterAsString type=java.lang.String], [name=destinationDurable type=java.lang.Boolean], [name=destinationName type=java.lang.String], [name=destinationSubscription type=java.lang.String], [name=destinationTopic type=java.lang.Boolean], [name=historyAsString type=java.lang.String], [name=historyLimit type=java.lang.Integer], [name=lastUpdate type=java.lang.Long], [name=messageCount type=java.lang.Integer], [name=messageCountDelta type=java.lang.Integer]}},
And all the Operations that return values like listAllMessages
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125273#4125273
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125273
16 years, 11 months
[Design of POJO Server] - Re: General Discussion on MetaTypes assigned to certain Mana
by bytor99999
JMS Destinations
The following three
serverPeer=ManagedProperty{serverPeer,serverPeer,metaType=MutableCompositeMetaType{javax.management.ObjectName items=[name=MBeanServer type=javax.management.MBeanServer], [name=canonicalKeyPropertyListString type=java.lang.String], [name=canonicalName type=java.lang.String], [name=domain type=java.lang.String], [name=domainPattern type=java.lang.Boolean], [name=keyPropertyList type=java.util.Map], [name=keyPropertyListString type=java.lang.String], [name=pattern type=java.lang.Boolean], [name=propertyPattern type=java.lang.Boolean]}}
expiryQueue=ManagedProperty{expiryQueue,expiryQueue,metaType=MutableCompositeMetaType{javax.management.ObjectName items=[name=MBeanServer type=javax.management.MBeanServer], [name=canonicalKeyPropertyListString type=java.lang.String], [name=canonicalName type=java.lang.String], [name=domain type=java.lang.String], [name=domainPattern type=java.lang.Boolean], [name=keyPropertyList type=java.util.Map], [name=keyPropertyListString type=java.lang.String], [name=pattern type=java.lang.Boolean], [name=propertyPattern type=java.lang.Boolean]}},
DLQ=ManagedProperty{DLQ,DLQ,metaType=MutableCompositeMetaType{javax.management.ObjectName items=[name=MBeanServer type=javax.management.MBeanServer], [name=canonicalKeyPropertyListString type=java.lang.String], [name=canonicalName type=java.lang.String], [name=domain type=java.lang.String], [name=domainPattern type=java.lang.Boolean], [name=keyPropertyList type=java.util.Map], [name=keyPropertyListString type=java.lang.String], [name=pattern type=java.lang.Boolean], [name=propertyPattern type=java.lang.Boolean]}}, name=ManagedProperty{name,name,metaType=SimpleMetaType:java.lang.String},
To be consistent and also really help me out. Shouldn't the items in a Map also be of a MetaType instead of direct Java types? Maybe even the keys.
If properties nest in terms of types, like a List of Maps or a Map which has some Lists which are Lists of Maps, it makes it easier to read and create adapters when you are always are dealing directly with MetaTypes and MetaValues.
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4125272#4125272
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4125272
16 years, 11 months