Skip to content

Support for non-string keys when serializing TabularData #97

Closed

Description

@rhuss

Up to now, when accessing an MBean attribute of type TabularData with a path, then only string keys are supported for the path attributes.

See this dicussion . This is the spot in the source.

Since we already know how to convert a string to an OpenType this should be a big deal, however, at this place we unfortunately don't have access to this string-to-object converter.

For the short term (1.1.2), I'll add (and somewhat duplicate) conversion string-to-simple type in the TabularDataExtractor.

For the mid to long term (2.0) I'm doing quite some refactoring in order to improve modularity. Here it will be possible for the TabularDataExtractor to access the other converters, too and hence can convert any open type from a string.

Activity

  1. added a commit that references this issue on Apr 18, 2013
  2. rhuss commented on Apr 18, 2013

    @rhuss
    MemberAuthor

    Quick fix added, I also just pushed out a 1.1.2-SNAPSHOT to labs.consol.de

  3. rhuss commented on May 29, 2013

    @rhuss
    MemberAuthor

    Fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions