com.alibaba.dubbo.rpc.protocol
Class AbstractExporter<T>

java.lang.Object
  extended by com.alibaba.dubbo.rpc.protocol.AbstractExporter<T>
All Implemented Interfaces:
Exporter<T>
Direct Known Subclasses:
DubboExporter

public abstract class AbstractExporter<T>
extends Object
implements Exporter<T>

AbstractExporter.

Author:
qianlei, william.liangf

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

Constructor Detail

AbstractExporter

public AbstractExporter(Invoker<T> invoker)
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>

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012–2017 Alibaba. All rights reserved.