com.alibaba.dubbo.rpc.support
Class DelegateExporter<T>

java.lang.Object
  extended by com.alibaba.dubbo.rpc.support.DelegateExporter<T>
All Implemented Interfaces:
Exporter<T>

public class DelegateExporter<T>
extends Object
implements Exporter<T>

DelegateExporter

Author:
chao.liuc

Constructor Summary
DelegateExporter(Exporter<T> exporter)
           
 
Method Summary
 Invoker<T> getInvoker()
          get invoker.
 void unexport()
          unexport.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelegateExporter

public DelegateExporter(Exporter<T> exporter)
Method Detail

getInvoker

public Invoker<T> getInvoker()
Description copied from interface: Exporter
get invoker.

Specified by:
getInvoker in interface Exporter<T>
Returns:
invoker

unexport

public void unexport()
Description copied from interface: Exporter
unexport.

getInvoker().destroy();

Specified by:
unexport in interface Exporter<T>


Copyright © 2012–2017 Alibaba. All rights reserved.