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; } }
@Required public void setFactory(BridgeHttpHandlerFactory factory) { factory.setInitializer(this); this.factory = factory; }