private Map getActivationSpecInfoMap(MessagelistenerType[] messagelistenerArray, ClassLoader cl) throws DeploymentException {
Map activationSpecInfos = new HashMap();
for (int i = 0; i < messagelistenerArray.length; i++) {
MessagelistenerType messagelistenerType = messagelistenerArray[i];
ActivationspecType activationspec = messagelistenerType.getActivationspec();
String activationSpecClassName = activationspec.getActivationspecClass().getStringValue();
GBeanInfoFactory infoFactory = new GBeanInfoFactory("org.apache.geronimo.connector.ActivationSpecWrapper", cl);
for (int j = 0; j < activationspec.getRequiredConfigPropertyArray().length; j++) {
RequiredConfigPropertyType requiredConfigPropertyType = activationspec.getRequiredConfigPropertyArray()[j];
String propertyName = requiredConfigPropertyType.getConfigPropertyName().getStringValue();
infoFactory.addAttribute(new DynamicGAttributeInfo(propertyName, true));
}
GBeanInfo gbeanInfo = infoFactory.getBeanInfo();
Class activationSpecClass = null;