Searched refs:domainXml (Results 1 - 17 of 17) sorted by relevance

/glassfish-3.1.2/admin/config-api/src/main/java/org/glassfish/config/support/
H A DServerReaderFilter.java59 domainXml = theDomainXml;
61 stream = domainXml.openStream();
87 final URL domainXml; field in class:ServerReaderFilter
H A DDomainXml.java187 File domainXml = new File(env.getConfigDirPath(), ServerEnvironmentImpl.kConfigXMLFileName);
188 if (domainXml.exists() && domainXml.length()>0) {
189 return domainXml.toURI().toURL();
194 domainXml.getAbsolutePath()));
198 domainXml = new File(env.getConfigDirPath(), ServerEnvironmentImpl.kConfigXMLFileNameBackup);
199 if (domainXml.exists() && domainXml.length()>0) {
200 return domainXml.toURI().toURL();
206 domainXml
219 parseDomainXml(ConfigParser parser, final URL domainXml, final String serverName) argument
[all...]
H A DDomainXmlPreParser.java88 DomainXmlPreParser(URL domainXml, XMLInputFactory xif, String instanceNameIn) throws DomainXmlPreParserException { argument
89 if (domainXml == null || xif == null || !StringUtils.ok(instanceNameIn))
96 in = domainXml.openStream();
97 reader = xif.createXMLStreamReader(domainXml.toExternalForm(), in);
H A DInstanceReaderFilter.java72 dxpp = new DomainXmlPreParser(domainXml, xif, instanceName);
/glassfish-3.1.2/tests/embedded/wrapper/src/main/java/org/glassfish/tests/embedded/
H A DEmbeddedMain.java62 String domainXml = instanceRoot + "/config/domain.xml";
72 configurationFile(new File(domainXml), false).autoDelete(false).build();
/glassfish-3.1.2/core/kernel/src/main/java/org/glassfish/kernel/embedded/
H A DEmbeddedDomainXml.java77 File domainXml = new File(instanceRoot, "config/domain.xml");
78 if (domainXml.exists()) { // domain/config/domain.xml, if exists.
79 return domainXml.toURI().toURL();
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/util/io/
H A DServerDirs.java96 domainXml = null;
124 domainXml = new File(configDir, "domain.xml");
216 return domainXml;
265 private final File domainXml; field in class:ServerDirs
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/
H A DEmbeddedSecurity.java66 public void copyConfigFiles(Habitat habitat, File fromInstanceDir, File domainXml) throws IOException, XMLStreamException; argument
/glassfish-3.1.2/admin/server-mgmt/src/main/java/com/sun/enterprise/admin/servermgmt/util/
H A DDomainXmlSAXParser.java62 public void parse(java.io.File domainXml,java.io.File dtd) throws javax.xml.parsers.ParserConfigurationException,org.xml.sax.SAXException,java.io.IOException { argument
68 saxParser.parse(domainXml,this);
/glassfish-3.1.2/extras/embedded/common/bootstrap/src/main/java/org/glassfish/uberjar/bootstrap/
H A DUberJarOSGiGlassFishRuntimeBuilder.java255 File domainXml = new File(instanceRoot, "config/domain.xml");
257 if (!domainXml.toURI().equals(configFile)) {
258 domainXml.getParentFile().mkdirs();
259 Util.copy(stream, new FileOutputStream(domainXml), stream.available());
260 logger.finer("Created " + domainXml);
262 logger.finer("Skipped creation of " + domainXml);
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/embedded/
H A DEmbeddedSecurityUtil.java85 public void copyConfigFiles(Habitat habitat, File fromInstanceDir, File domainXml) { argument
92 if ((fromInstanceDir == null) || (domainXml == null)) {
105 fileNames.addAll(new EmbeddedSecurityUtil().new DomainXmlSecurityParser(domainXml).getAbsolutePathKeyFileNames(fromInstanceDir));
180 //Inner class to parse the domainXml to obtain the keyfile names
201 DomainXmlSecurityParser(File domainXml) throws XMLStreamException, FileNotFoundException { argument
202 xmlReader = xif.createXMLStreamReader(new FileReader(domainXml));
/glassfish-3.1.2/cluster/cli/src/main/java/com/sun/enterprise/admin/cli/cluster/
H A DSynchronizeInstanceCommand.java182 File domainXml =
184 long dtime = domainXml.exists() ? domainXml.lastModified() : -1;
199 if (domainXml.lastModified() == dtime) {
306 if (domainXml.exists() && domainXml.lastModified() == dtime &&
H A DStartLocalInstanceCommand.java123 File domainXml =
125 if (!domainXml.exists()) {
/glassfish-3.1.2/ejb/ejb-container/src/main/java/org/glassfish/ejb/embedded/
H A DDomainXmlTransformer.java114 public DomainXmlTransformer(File domainXml) { argument
115 in = domainXml;
118 public DomainXmlTransformer(File domainXml, Logger logger) { argument
119 in = domainXml;
/glassfish-3.1.2/admin/launcher/src/main/java/com/sun/enterprise/admin/launcher/
H A DGFEmbeddedLauncher.java239 domainXml = SmartFile.sanitize(new File(domainDir, "config/domain.xml"));
366 private File domainXml; field in class:GFEmbeddedLauncher
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/universal/xml/
H A DMiniXmlParser.java77 public MiniXmlParser(File domainXml) throws MiniXmlParserException { argument
78 this(domainXml, "server"); // default for a domain
81 public MiniXmlParser(File domainXml, String serverName) throws MiniXmlParserException { argument
83 this.domainXml = domainXml;
244 reader = new InputStreamReader(new FileInputStream(domainXml));
260 domainXml.toURI().toString(), reader);
980 private File domainXml; field in class:MiniXmlParser
/glassfish-3.1.2/admin/server-mgmt/src/main/java/com/sun/enterprise/admin/servermgmt/pe/
H A DPEDomainsManager.java298 final File domainXml = layout.getDomainConfigFile();
301 parser.parse(domainXml,layout.getDtdFile());

Completed in 32 milliseconds