Package org.dromara.sms4j.ctyun.config
Class CtyunFactory
- java.lang.Object
-
- org.dromara.sms4j.provider.factory.AbstractProviderFactory<CtyunSmsImpl,CtyunConfig>
-
- org.dromara.sms4j.ctyun.config.CtyunFactory
-
- All Implemented Interfaces:
BaseProviderFactory<CtyunSmsImpl,CtyunConfig>
public class CtyunFactory extends AbstractProviderFactory<CtyunSmsImpl,CtyunConfig>
类名: CtyunSmsConfig
说明: 天翼云 云通信短信配置器
- Author:
- :bleachtred 2023/5/12 15:06
-
-
Field Summary
Fields Modifier and Type Field Description private static CtyunFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description CtyunFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CtyunSmsImpl
createSms(CtyunConfig ctyunConfig)
getCtyunSmsString
getSupplier()
获取供应商static CtyunFactory
instance()
获取建造者实例-
Methods inherited from class org.dromara.sms4j.provider.factory.AbstractProviderFactory
getConfigClass
-
-
-
-
Field Detail
-
INSTANCE
private static final CtyunFactory INSTANCE
-
-
Method Detail
-
instance
public static CtyunFactory instance()
获取建造者实例- Returns:
- 建造者实例
-
createSms
public CtyunSmsImpl createSms(CtyunConfig ctyunConfig)
getCtyunSms建造一个短信实现对像
- Parameters:
ctyunConfig
- 短信配置对象- Returns:
- 短信实现对象
-
getSupplier
public String getSupplier()
获取供应商- Returns:
- 供应商
-
-