com.aliyun.mns.common.utils
类 ServiceSettings
java.lang.Object
com.aliyun.mns.common.utils.ServiceSettings
public class ServiceSettings
- extends Object
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceSettings
public ServiceSettings()
getMNSAccountEndpoint
public static String getMNSAccountEndpoint()
setMNSAccountEndpoint
public static void setMNSAccountEndpoint(String accountEndpoint)
getMNSAccessKeyId
public static String getMNSAccessKeyId()
setMNSAccessKeyId
public static void setMNSAccessKeyId(String accessKeyId)
getMNSAccessKeySecret
public static String getMNSAccessKeySecret()
setMNSAccessKeySecret
public static void setMNSAccessKeySecret(String accessKeySecret)
getMNSSecurityToken
public static String getMNSSecurityToken()
setMNSSecurityToken
public static void setMNSSecurityToken(String securityToken)
load
public static void load()
- Load settings from the configuration file.
The configuration format:
mns.endpoint=
mns.accesskeyid=
mns.accesskeysecret=
proxy.host=
proxy.port=
Copyright © 2016. All Rights Reserved.