@Configuration
public abstract class AbstractCloudConfig
extends java.lang.Object
implements org.springframework.beans.factory.BeanFactoryAware
| Constructor and Description |
|---|
AbstractCloudConfig() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.cloud.Cloud |
cloud()
Get the underlying cloud object.
|
protected org.springframework.cloud.CloudFactory |
cloudFactory()
Get the cloud factory.
|
ServiceConnectionFactory |
connectionFactory() |
java.util.Properties |
properties()
Get the object containing service and app properties
|
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
Implementation note: This roundabout way of implementation is required to ensure that
a
CloudFactory bean if created in some other configuration is available, we should use
that. |
protected org.springframework.cloud.CloudFactory cloudFactory()
@Bean public org.springframework.cloud.Cloud cloud()
public ServiceConnectionFactory connectionFactory()
public java.util.Properties properties()
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
throws org.springframework.beans.BeansException
CloudFactory bean if created in some other configuration is available, we should use
that.setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAwareorg.springframework.beans.BeansException