Exemplo n.º 1
0
  private boolean isBridgeSupported() {
    try {
      HttpPirasoTestHandler handler = factory.createTestHandler();

      handler.execute();

      boolean supported = handler.isBridgetSupported();
      LOG.info(String.format("Checking bridge support '%s' is '%s'.", bridgeURI, supported));

      return supported;
    } catch (Exception e) {
      LOG.warn(e.getMessage(), e);
      return false;
    }
  }
Exemplo n.º 2
0
 @Required
 public void setFactory(BridgeHttpHandlerFactory factory) {
   factory.setInitializer(this);
   this.factory = factory;
 }