I've switched over the kernel xml deployer to use the 
MetadataDrivenObjectModelFactory,
but I don't see a replacement for the TypeBinding processing?

I use this previously to initialize an Enum from a String

  |    
  |    /**
  |     * A KernelControllerState converter
  |     */
  |    protected static class StateConverter implements TypeBinding
  |    {
  |       /** We only need one instance */
  |       public static final StateConverter instance = new StateConverter();
  |       
  |       public String marshal(Object value)
  |       {
  |          throw new NotImplementedException("NYI");
  |       }
  | 
  |       public Object unmarshal(String value)
  |       {
  |          return new KernelControllerState(value);
  |       }
  |    }
  | [/code[

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3870450#3870450

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3870450


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to