// used when adding app/module to config
public static void addToConfig(DeploymentRequest request)
throws IASDeploymentException {
try {
ConfigBean newApp = createNewModule(request.getType());
DeployableObjectType type = request.getType();
AttributeList attrList = populateAttributeList(request);
for (Object obj : attrList) {
Attribute attr = (Attribute) obj;
newApp.setAttributeValue(attr.getName(), (String) attr.getValue());
}
setPropertyOnAppBean(newApp, request);
addModule(request.getType(), newApp);