Package org.exoplatform.services.rest.impl

Examples of org.exoplatform.services.rest.impl.ApplicationProviders


   {
      Application app = new Application1();
      //binder.addApplication(app);
      applicationRegistry.addApplication(app);
      assertEquals(4, binder.getSize());
      ApplicationProviders appProviders = providersRegistry.getProviders(app.getClass().getName());
      assertEquals(1, appProviders.getRequestFilters(null).size());
      assertEquals(1, appProviders.getResponseFilters(null).size());
      assertEquals(1, appProviders.getMethodInvokerFilters(null).size());
      assertNotNull(appProviders.getExceptionMapper(RuntimeException.class));
      assertNotNull(appProviders.getExceptionMapper(IllegalStateException.class));
   }
View Full Code Here

TOP

Related Classes of org.exoplatform.services.rest.impl.ApplicationProviders

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.