Package org.jrest4guice.jndi

Examples of org.jrest4guice.jndi.JndiGuiceModuleProvider


    //注册缺省的日期转换器(用于BeanUtilsBean)
    new DatePatternConverter().addDefaultDateConverter();
    //打开JRest的支持
    PersistenceGuiceContext.getInstance().addModuleProvider(
        new JRest4GuiceModuleProvider(scanPaths)).addModuleProvider(
        new JndiGuiceModuleProvider(scanPaths));
    return PersistenceGuiceContext.getInstance();
  }
View Full Code Here

TOP

Related Classes of org.jrest4guice.jndi.JndiGuiceModuleProvider

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.