Map<String, Class<?>> configProperties = new HashMap<String, Class<?>>();
Set<String> requiredConfigProperties = new HashSet<String>();
Map<String, String> valueProperties = new HashMap<String, String>();
Activationspec15 as = ml.getActivationspec();
Class<?> asClz = Class.forName(as.getActivationspecClass().getValue(), true, cl);
if (as instanceof Activationspec16)
{
List<? extends ConfigProperty> cps = ((Activationspec16)as).getConfigProperties();
if (cps != null && cps.size() > 0)
{
for (ConfigProperty cp : cps)
{
String name = cp.getConfigPropertyName().getValue();
Class<?> ct = Class.forName(cp.getConfigPropertyType().getValue(), true, cl);
configProperties.put(name, ct);
if (cp.getConfigPropertyValue() != null && cp.getConfigPropertyValue().getValue() != null)
valueProperties.put(name, cp.getConfigPropertyValue().getValue());
}
}
}
configProperties.putAll(introspectActivationSpec(asClz));
List<? extends RequiredConfigProperty> rcps = as.getRequiredConfigProperties();
if (rcps != null && rcps.size() > 0)
{
for (RequiredConfigProperty rcp : rcps)
{
String name = rcp.getConfigPropertyName().getValue();