- Sar - Annotation Type in com.taobao.hsf.junit
-
- serializeType(String) - Method in class com.taobao.hsf.lightapi.ProviderService
-
- service(String) - Method in class com.taobao.hsf.lightapi.ConsumerService
-
设置要提供的HSF服务名
- service(String) - Method in class com.taobao.hsf.lightapi.ProviderService
-
设置要提供的HSF服务名
- ServiceFactory - Class in com.taobao.hsf.lightapi
-
单例,可以在任何地方getInstance()来获得实例,并拿出对应的服务。
Created by huangsheng.hs on 2014/10/25.
- ServiceUtil - Class in com.taobao.hsf.standalone.util
-
- ServiceUtil() - Constructor for class com.taobao.hsf.standalone.util.ServiceUtil
-
- set(Map<String, Object>) - Method in class com.taobao.hsf.lightapi.mock.MockContext
-
- setDownloadUrl(String) - Static method in class com.taobao.hsf.standalone.HSFEasyStarter
-
设置下载sar包的url,用于让用户自己搭建HSF sar包服务器
- setExpectValue(Object) - Method in enum com.taobao.hsf.lightapi.mock.MockMode
-
- setListenerClass(Class<?>) - Method in class com.taobao.hsf.lightapi.util.AsynType
-
- setProviderIp(String) - Static method in class com.taobao.hsf.lightapi.util.RequestContextUtil
-
- setRequestTimeout(int) - Static method in class com.taobao.hsf.lightapi.util.RequestContextUtil
-
- setRunModeToTest() - Static method in class com.taobao.hsf.lightapi.util.Partner
-
- setTargetServerIp(String) - Static method in class com.taobao.hsf.lightapi.util.RequestContextUtil
-
设置这次HSF请求的目标服务器
- setUserId(long) - Static method in class com.taobao.hsf.lightapi.util.RequestContextUtil
-
- setVersion(String) - Static method in class com.taobao.hsf.standalone.HSFEasyStarter
-
设置后,无参start()方法将以此version启动HSF
- start() - Static method in class com.taobao.hsf.standalone.HSFEasyStarter
-
Deprecated.
- start(String, String) - Static method in class com.taobao.hsf.standalone.HSFEasyStarter
-
sar包存放在 [releasePath]/[version]/taobao-hsf.sar 目录,当本地目录没有sar包时,会尝试下载。
若 releasePath 为"",则默认使用 ${user.home}/lightapi/release/
若 version 为"",则默认使用推荐版本的sar包,路径默认使用 [releasePath]/taobao-hsf.sar
- start(String) - Static method in class com.taobao.hsf.standalone.HSFMiniContainer
-
启动Pandora容器,并hack classloader实现pandora导出的类被优先加载
- start(String) - Static method in class com.taobao.hsf.standalone.HSFStarter
-
- start(String, ClassLoader) - Static method in class com.taobao.hsf.standalone.HSFStarter
-
太多反射,如果要转包异常抛出去的话,很难看
- startFromHsfHome() - Static method in class com.taobao.hsf.standalone.HSFStarter
-
从user.home/.hsf/release/taobao-hsf.sar启动hsf
- startFromPath(String) - Static method in class com.taobao.hsf.standalone.HSFEasyStarter
-
从"taobao-hsf.sar"的父目录启动主流版本hsf,若目录下没有taobao-hsf.sar,则尝试下载推荐版本的sar。
- startFromPropertyValue(String) - Static method in class com.taobao.hsf.standalone.HSFStarter
-
- startWithIdentifier(String) - Static method in class com.taobao.hsf.standalone.HSFEasyStarter
-
Deprecated.
- startWithVersion(String) - Static method in class com.taobao.hsf.standalone.HSFEasyStarter
-
让用户指定版本启动HSF。
下载sar包到 ${user.home}/lightapi/release/[version]
- startWithVersionAndIdentifier(String, String) - Static method in class com.taobao.hsf.standalone.HSFEasyStarter
-
指定版本和用户ID,适用于单机起多个standalone。
在 ${user.home}/lightapi/release/[version]/ 目录下寻找taobao-hsf.sar, 如果没有找到,则将尝试下载。
hsf.configuration 位于 ${user.home}/lightapi/osgidir/[identifier]/
hsf.log 位于 ${user.home}/lightapi/logs/[identifier]/
pandora临时目录 位于${user.home}/lightapi/pandora/[identifier]/
- startWithVersionAndIdentifier(String, String, int) - Static method in class com.taobao.hsf.standalone.HSFEasyStarter
-
指定版本、用户ID、ip和端口,适用于单机起多个standalone。
在 ${user.home}/lightapi/release/[version]/ 目录下寻找taobao-hsf.sar, 如果没有找到,则将尝试下载。
hsf.configuration 位于 ${user.home}/lightapi/osgidir/[identifier]/
hsf.log 位于 ${user.home}/lightapi/logs/[identifier]/
pandora临时目录 位于${user.home}/lightapi/pandora/[identifier]/
- staticInvoke(Class, String, Object...) - Static method in class com.taobao.hsf.lightapi.util.ReflectionUtil
-
- staticInvoke(Class, String) - Static method in class com.taobao.hsf.lightapi.util.ReflectionUtil
-
- subscribe() - Method in class com.taobao.hsf.lightapi.ConsumerService
-
获取消费服务的接口,可以进行强制转换。
- success() - Method in class com.taobao.hsf.lightapi.ProviderService
-
判断是否发布服务成功
- supportAsynCall(boolean) - Method in class com.taobao.hsf.lightapi.ProviderService
-
标识此服务是否支持异步调用,默认值为false,也就是不支持异步调用
- sync() - Method in class com.taobao.hsf.lightapi.ConsumerService
-
Deprecated.
- SystemProperties - Annotation Type in com.taobao.hsf.junit
-