@Configuration public abstract class AbstractCloudConfig extends Object implements BeanFactoryAware
Constructor and Description |
---|
AbstractCloudConfig() |
Modifier and Type | Method and Description |
---|---|
Cloud |
cloud()
Get the underlying cloud object.
|
protected CloudFactory |
cloudFactory()
Get the cloud factory.
|
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 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 BeanFactoryAware
BeansException