1 22 package org.jboss.system.server; 23 24 import java.io.File ; 25 import java.net.URL ; 26 27 34 public class ServerConfigImpl 35 implements ServerConfigImplMBean 36 { 37 private ServerConfig config; 38 39 45 public ServerConfigImpl(ServerConfig config) 46 { 47 this.config = config; 48 } 49 50 public ServerConfig getConfig() 51 { 52 return config; 53 } 54 55 public boolean equals(Object obj) 56 { 57 return config.equals(obj); 58 } 59 60 public boolean getBlockingShutdown() 61 { 62 return config.getBlockingShutdown(); 63 } 64 65 public boolean getExitOnShutdown() 66 { 67 return config.getExitOnShutdown(); 68 } 69 70 public File getHomeDir() 71 { 72 return config.getHomeDir(); 73 } 74 75 public URL getHomeURL() 76 { 77 return config.getHomeURL(); 78 } 79 80 public URL getLibraryURL() 81 { 82 return config.getLibraryURL(); 83 } 84 85 public URL getPatchURL() 86 { 87 return config.getPatchURL(); 88 } 89 90 public boolean getPlatformMBeanServer() 91 { 92 return config.getPlatformMBeanServer(); 93 } 94 95 public boolean getRequireJBossURLStreamHandlerFactory() 96 { 97 return config.getRequireJBossURLStreamHandlerFactory(); 98 } 99 100 public String getRootDeploymentFilename() 101 { 102 return config.getRootDeploymentFilename(); 103 } 104 105 public File getServerBaseDir() 106 { 107 return config.getServerBaseDir(); 108 } 109 110 public URL getServerBaseURL() 111 { 112 return config.getServerBaseURL(); 113 } 114 115 public URL getServerConfigURL() 116 { 117 return config.getServerConfigURL(); 118 } 119 120 public File getServerDataDir() 121 { 122 return config.getServerDataDir(); 123 } 124 125 public File getServerHomeDir() 126 { 127 return config.getServerHomeDir(); 128 } 129 130 public URL getServerHomeURL() 131 { 132 return config.getServerHomeURL(); 133 } 134 135 public URL getServerLibraryURL() 136 { 137 return config.getServerLibraryURL(); 138 } 139 140 public File getServerLogDir() 141 { 142 return config.getServerLogDir(); 143 } 144 145 public String getServerName() 146 { 147 return config.getServerName(); 148 } 149 150 public File getServerNativeDir() 151 { 152 return config.getServerNativeDir(); 153 } 154 155 public File getServerTempDeployDir() 156 { 157 return config.getServerTempDeployDir(); 158 } 159 160 public File getServerTempDir() 161 { 162 return config.getServerTempDir(); 163 } 164 165 public int hashCode() 166 { 167 return config.hashCode(); 168 } 169 170 public void setBlockingShutdown(boolean flag) 171 { 172 config.setBlockingShutdown(flag); 173 } 174 175 public void setExitOnShutdown(boolean flag) 176 { 177 config.setExitOnShutdown(flag); 178 } 179 180 public void setRequireJBossURLStreamHandlerFactory(boolean flag) 181 { 182 config.setRequireJBossURLStreamHandlerFactory(flag); 183 } 184 185 public void setRootDeploymentFilename(String filename) 186 { 187 config.setRootDeploymentFilename(filename); 188 } 189 190 } 191 | Popular Tags |