@Target(value=ANNOTATION_TYPE) @Retention(value=RUNTIME) @Documented public @interface NacosProperties
PropertyKeyConst| Modifier and Type | Fields and Description |
|---|---|
static String |
ACCESS_KEY
The property name of "access-key"
|
static String |
ACCESS_KEY_PLACEHOLDER
The placeholder of endpoint, the value is
"${nacos.access-key:}" |
static String |
CLUSTER_NAME
The property name of "cluster-name"
|
static String |
CLUSTER_NAME_PLACEHOLDER
The placeholder of endpoint, the value is
"${nacos.cluster-name:}" |
static String |
CONTEXT_PATH
The property name of "context-path"
|
static String |
CONTEXT_PATH_PLACEHOLDER
The placeholder of endpoint, the value is ${nacos.context-path:}"
|
static String |
ENCODE
The property name of "encode"
|
static String |
ENCODE_PLACEHOLDER
The placeholder of
encode, the value is "${nacos.encode:UTF-8}" |
static String |
ENDPOINT
The property name of "endpoint"
|
static String |
ENDPOINT_PLACEHOLDER
The placeholder of endpoint, the value is
"${nacos.endpoint:}" |
static String |
NAMESPACE
The property name of "namespace"
|
static String |
NAMESPACE_PLACEHOLDER
The placeholder of endpoint, the value is
"${nacos.namespace:}" |
static String |
PREFIX
The prefix of property name of Nacos
|
static String |
SECRET_KEY
The property name of "secret-key"
|
static String |
SECRET_KEY_PLACEHOLDER
The placeholder of endpoint, the value is
"${nacos.secret-key:}" |
static String |
SERVER_ADDR
The property name of "server-addr"
|
static String |
SERVER_ADDR_PLACEHOLDER
The placeholder of endpoint, the value is
${nacos.server-addr:}" |
| Modifier and Type | Optional Element and Description |
|---|---|
String |
accessKey
The property of "access-key"
|
String |
clusterName
The property of "cluster-name"
|
String |
contextPath
The property of "context-path"
|
String |
encode
The property of "encode"
|
String |
endpoint
The property of "endpoint"
|
String |
namespace
The property of "namespace"
|
String |
secretKey
The property of "secret-key"
|
String |
serverAddr
The property of "server-addr"
|
public static final String PREFIX
public static final String ENDPOINT
public static final String NAMESPACE
public static final String ACCESS_KEY
public static final String SECRET_KEY
public static final String SERVER_ADDR
public static final String CONTEXT_PATH
public static final String CLUSTER_NAME
public static final String ENCODE
public static final String ENDPOINT_PLACEHOLDER
"${nacos.endpoint:}"public static final String NAMESPACE_PLACEHOLDER
"${nacos.namespace:}"public static final String ACCESS_KEY_PLACEHOLDER
"${nacos.access-key:}"public static final String SECRET_KEY_PLACEHOLDER
"${nacos.secret-key:}"public static final String SERVER_ADDR_PLACEHOLDER
${nacos.server-addr:}"public static final String CONTEXT_PATH_PLACEHOLDER
public static final String CLUSTER_NAME_PLACEHOLDER
"${nacos.cluster-name:}"public abstract String endpoint
ENDPOINT_PLACEHOLDERpublic abstract String namespace
NAMESPACE_PLACEHOLDERpublic abstract String accessKey
ACCESS_KEY_PLACEHOLDERpublic abstract String secretKey
SECRET_KEY_PLACEHOLDERpublic abstract String serverAddr
SERVER_ADDR_PLACEHOLDERpublic abstract String contextPath
CONTEXT_PATH_PLACEHOLDERpublic abstract String clusterName
CLUSTER_NAME_PLACEHOLDERpublic abstract String encode
ENCODE_PLACEHOLDERCopyright © 2018 Alibaba Group. All rights reserved.