@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 |
---|---|
Cloud |
cloud()
Get the underlying cloud object.
|
protected 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 CloudFactory cloudFactory()
@Bean public 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.BeanFactoryAware
org.springframework.beans.BeansException