[jboss-as7-dev] Modeling Management Objects (was: birth of "console ui" in eclipse)

Rob Cernich rcernich at redhat.com
Mon Mar 5 09:49:05 EST 2012


[snip...]

> > While it may not generate the code for you, the AutoBean framework
> > allows you to wrap the underlying JSON with an API.  Continuing
> > the above example:
> > 
> >  interface Bar {
> >    String getFoo();
> >    void setFoo(String value);
> >  }
> >  interface BarBeanFactory extends AutoBeanFactory {
> >    AutoBean newBar();
> >  }
> >  Bar bar = AutoBeanCodex.decode(barBeanFactory, Bar.class,
> >  barNode.toJSONString(true)).as();
> 
> I take it this imposes a particular data format?

Yes.  JSON.



More information about the jboss-as7-dev mailing list