Lines Matching refs:codeBase
89 URL codeBase;
93 codeBase = null;
97 codeBase = file.toURI().toURL();
101 if (codeBase == null) {
103 "Could not determine codeBase for java.home=" + javaHome);
106 codeBase = cs.getLocation();
110 String[] classes = findStandardMBeans(codeBase);
234 private static String[] findStandardMBeans(URL codeBase)
237 if (codeBase.getProtocol().equalsIgnoreCase("file")
238 && codeBase.toString().endsWith("/"))
239 names = findStandardMBeansFromDir(codeBase);
241 names = findStandardMBeansFromJar(codeBase);
254 private static Set<String> findStandardMBeansFromJar(URL codeBase)
256 InputStream is = codeBase.openStream();
271 private static Set<String> findStandardMBeansFromDir(URL codeBase)
273 File dir = new File(new URI(codeBase.toString()));