com.baidu.jprotobuf.pbrpc.spring.meta
类 RpcMetaExporter

java.lang.Object
  继承者 com.baidu.jprotobuf.pbrpc.spring.meta.RpcMetaExporter
所有已实现的接口:
java.util.EventListener, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>

public class RpcMetaExporter
extends java.lang.Object
implements org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>, org.springframework.beans.factory.InitializingBean

Utility tool class to exporter google protocol buffer proto description file as RPC meta.

从以下版本开始:
2.21
作者:
xiemalin

字段摘要
protected static org.apache.commons.logging.Log LOGGER
          log this class
 
构造方法摘要
RpcMetaExporter()
           
 
方法摘要
 void afterPropertiesSet()
           
 void onApplicationEvent(org.springframework.context.ApplicationEvent event)
           
 void setPath(java.lang.String path)
          set path value to path
 void setServiceHost(java.lang.String serviceHost)
          set serviceHost value to serviceHost
 void setServicePort(int servicePort)
          set servicePort value to servicePort
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

LOGGER

protected static final org.apache.commons.logging.Log LOGGER
log this class

构造方法详细信息

RpcMetaExporter

public RpcMetaExporter()
方法详细信息

setPath

public void setPath(java.lang.String path)
set path value to path

参数:
path - the path to set

setServicePort

public void setServicePort(int servicePort)
set servicePort value to servicePort

参数:
servicePort - the servicePort to set

setServiceHost

public void setServiceHost(java.lang.String serviceHost)
set serviceHost value to serviceHost

参数:
serviceHost - the serviceHost to set

onApplicationEvent

public void onApplicationEvent(org.springframework.context.ApplicationEvent event)
指定者:
接口 org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent> 中的 onApplicationEvent

afterPropertiesSet

public void afterPropertiesSet()
                        throws java.lang.Exception
指定者:
接口 org.springframework.beans.factory.InitializingBean 中的 afterPropertiesSet
抛出:
java.lang.Exception


Copyright © 2015 Baidu, Inc.. All Rights Reserved.