com.aliyun.mns.common.utils
类 ServiceSettings

java.lang.Object
  继承者 com.aliyun.mns.common.utils.ServiceSettings

public class ServiceSettings
extends Object


构造方法摘要
ServiceSettings()
           
 
方法摘要
static String getMNSAccessKeyId()
           
static String getMNSAccessKeySecret()
           
static String getMNSAccountEndpoint()
           
static String getMNSSecurityToken()
           
static void load()
          Load settings from the configuration file.
static void setMNSAccessKeyId(String accessKeyId)
           
static void setMNSAccessKeySecret(String accessKeySecret)
           
static void setMNSAccountEndpoint(String accountEndpoint)
           
static void setMNSSecurityToken(String securityToken)
           
 
从类 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.