|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.netflix.config.SimpleDeploymentContext
com.netflix.config.ConfigurationBasedDeploymentContext
public class ConfigurationBasedDeploymentContext
An implementation of DeploymentContext based on system wide configuration set with
ConfigurationManager. All the getters will first consult corresponding property
and return the value if set.
| Constructor Summary | |
|---|---|
ConfigurationBasedDeploymentContext()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getApplicationId()
Get the deployment environment. |
java.lang.String |
getDeploymentDatacenter()
Get the deployment environment. |
java.lang.String |
getDeploymentEnvironment()
Get the deployment environment. |
java.lang.String |
getDeploymentRegion()
Get the deployment environment. |
java.lang.String |
getDeploymentServerId()
Get the deployment environment. |
java.lang.String |
getDeploymentStack()
Get the deployment environment. |
| Methods inherited from class com.netflix.config.SimpleDeploymentContext |
|---|
setApplicationId, setDeploymentDatacenter, setDeploymentEnvironment, setDeploymentRegion, setDeploymentServerId, setDeploymentStack |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConfigurationBasedDeploymentContext()
| Method Detail |
|---|
public java.lang.String getDeploymentEnvironment()
getDeploymentEnvironment in interface DeploymentContextgetDeploymentEnvironment in class SimpleDeploymentContextpublic java.lang.String getDeploymentDatacenter()
getDeploymentDatacenter in interface DeploymentContextgetDeploymentDatacenter in class SimpleDeploymentContextpublic java.lang.String getApplicationId()
getApplicationId in interface DeploymentContextgetApplicationId in class SimpleDeploymentContextpublic java.lang.String getDeploymentServerId()
getDeploymentServerId in interface DeploymentContextgetDeploymentServerId in class SimpleDeploymentContextpublic java.lang.String getDeploymentStack()
getDeploymentStack in interface DeploymentContextgetDeploymentStack in class SimpleDeploymentContextpublic java.lang.String getDeploymentRegion()
getDeploymentRegion in interface DeploymentContextgetDeploymentRegion in class SimpleDeploymentContext
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||