1 23 24 package com.sun.enterprise.admin.mbeanapi; 25 26 import java.util.Properties ; 27 28 import javax.management.MBeanException ; 29 import javax.management.ObjectName ; 30 31 import com.sun.enterprise.admin.common.exception.DeploymentException; 32 import com.sun.enterprise.admin.common.exception.ServerInstanceException; 33 import com.sun.enterprise.admin.common.exception.MBeanConfigException; 34 import com.sun.enterprise.deployment.backend.DeploymentStatus; 35 36 public interface IApplicationsConfigMBean { 37 38 public DeploymentStatus deploy(Properties props) 39 throws MBeanException , DeploymentException; 40 41 public DeploymentStatus undeploy(Properties props) 42 throws MBeanException , DeploymentException; 43 44 public boolean deployJ2EEApplication(Properties props) 45 throws MBeanException , DeploymentException; 46 47 public boolean deployEJBJarModule(Properties props) 48 throws MBeanException , DeploymentException; 49 50 public boolean deployWarModule(Properties props) 51 throws MBeanException , DeploymentException; 52 53 public boolean deployConnectorModule(Properties props) 54 throws MBeanException , DeploymentException; 55 56 public String [] getTargets() 57 throws MBeanException , MBeanConfigException; 58 59 public String [] getAvailableModules(String moduleType) 60 throws MBeanException , MBeanConfigException; 61 62 public String [] getAvailableModules(String moduleType, String [] targetList) 63 throws MBeanException , MBeanConfigException; 64 65 public String [] getRunningModules(String moduleType, String [] targetList) 66 throws MBeanException , MBeanConfigException; 67 68 public String [] getNonRunningModules(String moduleType, String [] targetList) 69 throws MBeanException , MBeanConfigException; 70 71 public String [] getDeployedJ2EEApplications() 72 throws MBeanException , ServerInstanceException; 73 74 public String [] getDeployedEJBModules() 75 throws MBeanException , ServerInstanceException; 76 77 public String [] getDeployedWebModules() 78 throws MBeanException , ServerInstanceException; 79 80 public String [] getDeployedConnectors() 81 throws MBeanException , ServerInstanceException; 82 83 public ObjectName [] getAllDeployedComponents() 84 throws MBeanException , ServerInstanceException; 85 86 public ObjectName [] getAllDeployedJ2EEApplications() 87 throws MBeanException , ServerInstanceException; 88 89 public ObjectName [] getAllDeployedEJBModules() 90 throws MBeanException , ServerInstanceException; 91 92 public ObjectName [] getAllDeployedWebModules() 93 throws MBeanException , ServerInstanceException; 94 95 96 public ObjectName [] getAllDeployedConnectors() 97 throws MBeanException , ServerInstanceException; 98 99 public ObjectName [] getAllDeployedComponents(String target) 100 throws MBeanException , ServerInstanceException; 101 102 public ObjectName [] getAllDeployedJ2EEApplications(String target) 103 throws MBeanException , ServerInstanceException; 104 105 106 public ObjectName [] getAllDeployedEJBModules(String target) 107 throws MBeanException , ServerInstanceException; 108 109 public ObjectName [] getAllDeployedWebModules(String target) 110 throws MBeanException , ServerInstanceException; 111 112 public ObjectName [] getAllDeployedConnectors(String target) 113 throws MBeanException , ServerInstanceException; 114 115 116 public ObjectName [] getAllDeployedAppclientModules(String target) 117 throws MBeanException , ServerInstanceException; 118 119 public void associate(String appName, String target) 120 throws MBeanException , MBeanConfigException; 121 122 public void disassociate(String appName, String target) 123 throws MBeanException , MBeanConfigException; 124 125 public void enable(String appName, String type, String target) 126 throws MBeanException , MBeanConfigException; 127 128 public void disable(String appName, String type, String target) 129 throws MBeanException , MBeanConfigException; 130 131 public boolean getStatus(String name, String target) 132 throws MBeanException , MBeanConfigException; 133 134 public boolean isRedeploySupported() 135 throws MBeanException , MBeanConfigException; 136 137 138 public String [] getAvailableVersions(String appName, String type) 139 throws MBeanException , MBeanConfigException; 140 141 public String getDefaultVersion(String appName, String type) 142 throws MBeanException , MBeanConfigException; 143 144 public String getLastModified(String appName, String type) 145 throws MBeanException , MBeanConfigException; 146 147 public boolean isRepositoryCleanerEnabled() 148 throws MBeanException , MBeanConfigException; 149 150 151 public int getRepositoryCleanerPollingInterval() 152 throws MBeanException , MBeanConfigException; 153 154 public void setRepositoryCleanerPollingInterval(int interval) 155 throws MBeanException , MBeanConfigException; 156 157 public int getMaxApplicationVersions() 158 throws MBeanException , MBeanConfigException; 159 160 public void setMaxApplicationVersions(int maxVersions) 161 throws MBeanException , MBeanConfigException; 162 163 public boolean isAutoDeployEnabled() 164 throws MBeanException , MBeanConfigException; 165 166 public void setAutoDeployEnabled() 167 throws MBeanException , MBeanConfigException; 168 169 public boolean isAutoDeployJspPreCompilationEnabled() 170 throws MBeanException , MBeanConfigException; 171 172 public void setAutoDeployJspPreCompilationEnabled() 173 throws MBeanException , MBeanConfigException; 174 175 public String [] getModuleComponents(String standAloneModuleName) 176 throws MBeanException , ServerInstanceException; 177 178 public String [] getModuleComponents(String appName, String modName) 179 throws MBeanException , ServerInstanceException; 180 181 public String [] getAllSystemConnectors() 182 throws MBeanException , ServerInstanceException; 183 } 184 | Popular Tags |