class AdministrationAgent implements InitializingBean {

    protected void workOnCluster(ClusterVO cluster, ClusterAdministrationHeuristicAlgorithm administrationAlgorithm) {
        long clusterId = cluster.getId();
        logger.debug(String.format("Managing cluster [id=%d].", clusterId));
        try {
            processCluster(cluster, administrationAlgorithm);
        } catch (Exception e) {
            logger.info(String.format("Exception occurred while managing cluster [id = %d]", clusterId), e);
        }
        autonomicClusterManagementService.markAdministrationStatusInClusterAsDone(clusterId);

        logger.debug(String.format("Management operation completed on cluster[id=%d].", clusterId));
    }

}