@Override public void postConstruct() { domainRootUri = env.getDomainRoot().toURI(); }
@Override public void postConstruct() { domainRootUri = env.getDomainRoot().toURI(); }
private synchronized File domainRoot() { if (domainRoot == null) { ServerEnvironment serverEnv = habitat.getService(ServerEnvironment.class); domainRoot = serverEnv.getDomainRoot(); } return domainRoot; }
/** * Synchronize the docroot directory. */ private void synchronizeDocroot(Payload.Outbound payload, Server server, SyncRequest sr) throws URISyntaxException { synchronizeDirectory(payload, server, sr, new File(env.getDomainRoot(), "docroot"), null, SyncLevel.DIRECTORY); }
/** * Synchronize the docroot directory. */ private void synchronizeDocroot(Payload.Outbound payload, Server server, SyncRequest sr) throws URISyntaxException { synchronizeDirectory(payload, server, sr, new File(env.getDomainRoot(), "docroot"), null, SyncLevel.DIRECTORY); }
@Override public File getAutoDeployDir() { return new File(env.getDomainRoot(), config.getAutodeployDir()); }
private void createCommonClassLoader() { List<File> cpElements = new ArrayList<File>(); File domainDir = env.getDomainRoot();
} else { ServerEnvironment env = habitat.getComponent(ServerEnvironment.class); dir = new File(env.getDomainRoot(), accessLog);
_embedded.setWebContainerFeatureFactory(webContainerFeatureFactory); _embedded.setCatalinaHome(instance.getDomainRoot().getAbsolutePath()); _embedded.setCatalinaBase(instance.getDomainRoot().getAbsolutePath()); _embedded.setUseNaming(false); if (_debug > 1)