| 1 package org.sape.carbon.services.carbonmanagement; 2 3 import java.util.Map ; 4 5 import org.sape.carbon.core.component.FunctionalInterface; 6 7 16 public interface CarbonManagementService extends FunctionalInterface { 17 18 26 String viewConfigurationXML(String configurationPath) 27 throws ConfigurationNotFoundException; 28 29 34 String viewConfigurationTree(); 35 36 39 void refreshAllConfigurations(); 40 41 46 void refreshConfiguration(String configurationPath) 47 throws ConfigurationNotFoundException; 48 49 52 void refreshAllComponentConfigurations(); 53 54 59 void loadComponent(String componentName) 60 throws ComponentNotFoundException; 61 62 68 String getDeploymentProperties(); 69 70 71 76 Map getDeploymentPropertyMap(); 77 78 84 String getDeploymentProperty(String propertyName); 85 86 87 92 long getFreeMemory(); 93 94 99 long getTotalMemory(); 100 101 108 long getMaximumMemory(); 109 110 117 int getAvailableProcessors(); 118 119 124 int getActiveThreadCount(); 125 126 131 int getActiveThreadGroupCount(); 132 } 133 | Popular Tags |