Java Code Examples for com.alibaba.dubbo.rpc.ExporterListener#unexported()
The following examples show how to use
com.alibaba.dubbo.rpc.ExporterListener#unexported() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ListenerExporterWrapper.java From dubbo-2.6.5 with Apache License 2.0 | 6 votes |
@Override public void unexport() { try { exporter.unexport(); } finally { if (listeners != null && !listeners.isEmpty()) { RuntimeException exception = null; for (ExporterListener listener : listeners) { if (listener != null) { try { listener.unexported(this); } catch (RuntimeException t) { logger.error(t.getMessage(), t); exception = t; } } } if (exception != null) { throw exception; } } } }
Example 2
Source File: ListenerExporterWrapper.java From dubbox with Apache License 2.0 | 6 votes |
public void unexport() { try { exporter.unexport(); } finally { if (listeners != null && listeners.size() > 0) { RuntimeException exception = null; for (ExporterListener listener : listeners) { if (listener != null) { try { listener.unexported(this); } catch (RuntimeException t) { logger.error(t.getMessage(), t); exception = t; } } } if (exception != null) { throw exception; } } } }
Example 3
Source File: ListenerExporterWrapper.java From dubbox-hystrix with Apache License 2.0 | 6 votes |
public void unexport() { try { exporter.unexport(); } finally { if (listeners != null && listeners.size() > 0) { RuntimeException exception = null; for (ExporterListener listener : listeners) { if (listener != null) { try { listener.unexported(this); } catch (RuntimeException t) { logger.error(t.getMessage(), t); exception = t; } } } if (exception != null) { throw exception; } } } }
Example 4
Source File: ListenerExporterWrapper.java From dubbo3 with Apache License 2.0 | 6 votes |
public void unexport() { try { exporter.unexport(); } finally { if (listeners != null && listeners.size() > 0) { RuntimeException exception = null; for (ExporterListener listener : listeners) { if (listener != null) { try { listener.unexported(this); } catch (RuntimeException t) { logger.error(t.getMessage(), t); exception = t; } } } if (exception != null) { throw exception; } } } }
Example 5
Source File: ListenerExporterWrapper.java From dubbox with Apache License 2.0 | 6 votes |
public void unexport() { try { exporter.unexport(); } finally { if (listeners != null && listeners.size() > 0) { RuntimeException exception = null; for (ExporterListener listener : listeners) { if (listener != null) { try { listener.unexported(this); } catch (RuntimeException t) { logger.error(t.getMessage(), t); exception = t; } } } if (exception != null) { throw exception; } } } }
Example 6
Source File: ListenerExporterWrapper.java From dubbox with Apache License 2.0 | 6 votes |
public void unexport() { try { exporter.unexport(); } finally { if (listeners != null && listeners.size() > 0) { RuntimeException exception = null; for (ExporterListener listener : listeners) { if (listener != null) { try { listener.unexported(this); } catch (RuntimeException t) { logger.error(t.getMessage(), t); exception = t; } } } if (exception != null) { throw exception; } } } }