Re: Custom ValueEncoder & IOC

2015-09-14 Thread Chris Poulsen
Can't you could just bind it in your app module? -- Chris On Mon, Sep 14, 2015 at 3:35 PM, Damon Childs wrote: > How do i get a custom ValueEncoder under control of IOC? > > I have a ValueEncoder that translates a id to a Object from a db. > > public class

Custom ValueEncoder & IOC

2015-09-14 Thread Damon Childs
How do i get a custom ValueEncoder under control of IOC? I have a ValueEncoder that translates a id to a Object from a db. public class PropertyTypeEncoder implements ValueEncoder { @Inject private Session session; public PropertyTypeEncoder(Session session) {