List<DeploymentContext> children = info.getChildren();
for(DeploymentContext ctx : children)
{
try
{
ModuleType type = getModuleType(ctx);
// Discard unknown ModuleTypes
if (type != null)
{
String module = ctx.getName();
// TODO, DEPLOYED may not be the same as running?
boolean isRunning = ctx.getState() == DeploymentState.DEPLOYED;
SerializableTargetModuleID child = new SerializableTargetModuleID(moduleID, module, type.getValue(), isRunning);
moduleID.addChildTargetModuleID(child);
fillChildrenTargetModuleID(child, ctx);
}
}
catch (UnsupportedOperationException e)