Package com.google.web.bindery.requestfactory.server

Examples of com.google.web.bindery.requestfactory.server.ServiceLayerDecorator


public class CustomRequestFactoryServlet extends RequestFactoryServlet {

  private static final long serialVersionUID = -4245826401547466758L;

  public CustomRequestFactoryServlet() {
    super(new CustomExceptionHandler(), new ServiceLayerDecorator() {

      @Override
      public <T extends Locator<?, ?>> T createLocator(Class<T> clazz) {
        ApplicationContext context = WebApplicationContextUtils
            .getWebApplicationContext(CustomRequestFactoryServlet.getThreadLocalServletContext());
View Full Code Here

TOP

Related Classes of com.google.web.bindery.requestfactory.server.ServiceLayerDecorator

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.