public class ContextSourceEc2InstanceLaunchingFactoryBean extends AbstractEc2InstanceLaunchingFactoryBean
logger
Constructor and Description |
---|
ContextSourceEc2InstanceLaunchingFactoryBean() |
Modifier and Type | Method and Description |
---|---|
protected Object |
doCreateInstance(String dnsName)
Implement to create the actual target object.
|
Class |
getObjectType() |
protected void |
setAdditionalContextSourceProperties(LdapContextSource ctx,
String dnsName)
Override to set additional properties on the ContextSource.
|
void |
setBase(String base) |
void |
setPassword(String password) |
void |
setPooled(boolean pooled) |
void |
setUserDn(String userDn) |
createInstance, destroyInstance, setAwsKey, setAwsSecretKey, setGroupName, setImageName, setKeypairName
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
public ContextSourceEc2InstanceLaunchingFactoryBean()
public final Class getObjectType()
getObjectType
in interface FactoryBean
getObjectType
in class AbstractFactoryBean
protected final Object doCreateInstance(String dnsName) throws Exception
AbstractEc2InstanceLaunchingFactoryBean
doCreateInstance
in class AbstractEc2InstanceLaunchingFactoryBean
dnsName
- the ip address of the launched EC2 image.Exception
- if an error occurs during initialization.public void setPooled(boolean pooled)
protected void setAdditionalContextSourceProperties(LdapContextSource ctx, String dnsName)
ctx
- The created instance.dnsName
- The dns name of the created Ec2 instance.public void setBase(String base)
public void setUserDn(String userDn)
public void setPassword(String password)