Package org.jclouds.ohai.servlet.suppliers

Examples of org.jclouds.ohai.servlet.suppliers.ServletContextInfoSupplier


            return converter;
          }
        });

    Json json = injector.getInstance(Json.class);
    ServletContextInfoSupplier ohai = injector
        .getInstance(ServletContextInfoSupplier.class);
    assertEquals(json.toJson(ohai.get()),
        "{\"path\":{\"server_info\":\"serverinfo\",\"init_params\":{\"foo\":\"bar\"}}}");

  }
View Full Code Here


            return converter;
          }
        });

    Json json = injector.getInstance(Json.class);
    ServletContextInfoSupplier ohai = injector
        .getInstance(ServletContextInfoSupplier.class);
    assertEquals(json.toJson(ohai.get()),
        "{\"/\":{\"server_info\":\"serverinfo\",\"init_params\":{\"foo\":\"bar\"}}}");

  }
View Full Code Here

            return converter;
          }
        });

    Json json = injector.getInstance(Json.class);
    ServletContextInfoSupplier ohai = injector
        .getInstance(ServletContextInfoSupplier.class);
    assertEquals(json.toJson(ohai.get()),
        "{\"/\":{\"server_info\":\"serverinfo\",\"init_params\":{\"foo\":\"bar\"}}}");

  }
View Full Code Here

TOP

Related Classes of org.jclouds.ohai.servlet.suppliers.ServletContextInfoSupplier

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.