i have interface
public interface iconfigdao<t> {}
i have class implements interface,
public class configdaojedisimpl<t> implements iconfigdao<t> {}
i instantiating class follows,
iconfigdao<userlimitconfig> configdao = new configdaojedisimpl<>();
now in constructor of configdaojedisimpl
want class object of userlimitconfig
(it generic type interface instantiated). possible?
Comments
Post a Comment