VirtualHostConfiguration configuration;
String configurationFile = (String)getAttribute(CONFIG_PATH);
if (configurationFile == null)
{
final MyConfiguration basicConfiguration = new MyConfiguration();
PropertiesConfiguration config = new PropertiesConfiguration();
final String type = (String) getAttribute(TYPE);
config.addProperty("type", type);
VirtualHostFactory factory = VirtualHostFactory.FACTORIES.get(type);
if(factory != null)
{
for(Map.Entry<String,Object> entry : factory.createVirtualHostConfiguration(this).entrySet())
{
config.addProperty(entry.getKey(), entry.getValue());
}
}
basicConfiguration.addConfiguration(config);
CompositeConfiguration compositeConfiguration = new CompositeConfiguration();