@Override public void close() throws Exception { destroy(); } }
protected void notifyLifecycleManager(Object client) { ClientLifeCycleManager mgr = bus.getExtension(ClientLifeCycleManager.class); if (null != mgr) { mgr.clientCreated(new FrontendClientAdapter(WebClient.getConfig(client))); } }
protected void notifyLifecycleManager(Object client) { ClientLifeCycleManager mgr = bus.getExtension(ClientLifeCycleManager.class); if (null != mgr) { mgr.clientCreated(new FrontendClientAdapter(WebClient.getConfig(client))); } }
private void notifyLifecycleManager(Object client) { ClientLifeCycleManager mgr = bus.getExtension(ClientLifeCycleManager.class); if (null != mgr) { mgr.clientCreated(new FrontendClientAdapter(WebClient.getConfig(client))); } }
@Override public void close() throws Exception { destroy(); } }
ClientLifeCycleManager mgr = cfg.getBus().getExtension(ClientLifeCycleManager.class); if (null != mgr) { mgr.clientDestroyed(new FrontendClientAdapter(getConfiguration()));
public void close() { if (cfg.getBus() == null) { return; } ClientLifeCycleManager mgr = cfg.getBus().getExtension(ClientLifeCycleManager.class); if (null != mgr) { mgr.clientDestroyed(new FrontendClientAdapter(getConfiguration())); } if (cfg.getConduitSelector() instanceof Closeable) { try { ((Closeable)cfg.getConduitSelector()).close(); } catch (IOException e) { //ignore, we're destroying anyway } } else { cfg.getConduit().close(); } state.reset(); state = null; cfg = null; }
ClientLifeCycleManager mgr = cfg.getBus().getExtension(ClientLifeCycleManager.class); if (null != mgr) { mgr.clientDestroyed(new FrontendClientAdapter(getConfiguration()));