@Configuration public abstract class AbstractCloudConfig extends Object implements BeanFactoryAware
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractCloudConfig.ServiceConnectionFactory |
| Constructor and Description |
|---|
AbstractCloudConfig() |
| Modifier and Type | Method and Description |
|---|---|
Cloud |
cloud()
Get the underlying cloud object.
|
protected CloudFactory |
cloudFactory()
Get the cloud factory.
|
AbstractCloudConfig.ServiceConnectionFactory |
connectionFactory() |
Properties |
properties()
Get the object containing service and app properties
|
void |
setBeanFactory(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 CloudFactory cloudFactory()
@Bean public Cloud cloud()
public AbstractCloudConfig.ServiceConnectionFactory connectionFactory()
public Properties properties()
public void setBeanFactory(BeanFactory beanFactory) throws BeansException
CloudFactory bean if created in some other configuration is available, we should use
that.setBeanFactory in interface BeanFactoryAwareBeansException