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, setKeypairNameafterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingletonpublic ContextSourceEc2InstanceLaunchingFactoryBean()
public final Class getObjectType()
getObjectType in interface FactoryBeangetObjectType in class AbstractFactoryBeanprotected final Object doCreateInstance(String dnsName) throws Exception
AbstractEc2InstanceLaunchingFactoryBeandoCreateInstance in class AbstractEc2InstanceLaunchingFactoryBeandnsName - 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)