*/
@Override
public void setProfilesForContainer(String containerId, String versionId,
List<String> profileIds) {
try {
J4pExecRequest request = JolokiaHelpers.createExecRequest(FABRIC_MBEAN_URL, "applyProfilesToContainers(java.lang.String, java.util.List, java.util.List)", versionId, profileIds, JolokiaHelpers.toList(containerId));
getJolokiaClient().execute(request);
} catch (Exception e) {
Fabric8CorePlugin.getLogger().error("Failed to set profiles for container '" + containerId + "'", e);
}
}