public boolean isWebApp() { return module.getAppModule() != null && module.getAppModule().isWebapp(); }
public String uniqueHostIfExists() { final boolean hasWebApps = !getWebModules().isEmpty(); if (isWebapp() && hasWebApps) { return getWebModules().iterator().next().getHost(); } else if (hasWebApps) { String id = null; for (final WebModule web : getWebModules()) { if (id == null) { id = web.getHost(); } else if (!id.equals(web.getHost())) { return ""; // find something better as in org.apache.openejb.config.InitEjbDeployments } } return id; } return ""; }
public String uniqueHostIfExists() { final boolean hasWebApps = !getWebModules().isEmpty(); if (isWebapp() && hasWebApps) { return getWebModules().iterator().next().getHost(); } else if (hasWebApps) { String id = null; for (final WebModule web : getWebModules()) { if (id == null) { id = web.getHost(); } else if (!id.equals(web.getHost())) { return ""; // find something better as in org.apache.openejb.config.InitEjbDeployments } } return id; } return ""; }
if (appModule.isWebapp() || module.isWebapp() && !module.getModuleId().equals(webModule.getModuleId())) { continue;
if (appModule.isWebapp() || module.isWebapp() && !module.getModuleId().equals(webModule.getModuleId())) { continue;
ejbModule.getAltDDs().put("beans.xml", earBeans); if (appModule.isWebapp()) { // war appModule.getWebModules().iterator().next().setFinder(ejbModule.getFinder()); addEnvEntries(archive, prefix, appModule, ejbModule); if (!appModule.isWebapp()) { appModule.getAdditionalLibraries().addAll(additionalPaths);
DeployerEjb.AUTO_DEPLOY.remove(); if (!appModule.isWebapp()) { classLoader = appModule.getClassLoader(); } else {
appInfo.appId = appModule.getModuleId(); appInfo.path = appModule.getJarLocation(); appInfo.standaloneModule = appModule.isStandaloneModule() || appModule.isWebapp(); appInfo.delegateFirst = appModule.isDelegateFirst(); appInfo.watchedResources.addAll(appModule.getWatchedResources()); appInfo.webAppAlone = appModule.isWebapp();
appInfo.webAppAlone = appModule.isWebapp();
public AppModule deploy(AppModule appModule) throws OpenEJBException { if (!appModule.isWebapp() && !appModule.getWebModules().isEmpty()) { // need to scan for jsf stuff at least try { appModule.setEarLibFinder(FinderFactory.createFinder(appModule));
public AppModule deploy(AppModule appModule) throws OpenEJBException { if (!appModule.isWebapp() && !appModule.getWebModules().isEmpty()) { // need to scan for jsf stuff at least try { appModule.setEarLibFinder(FinderFactory.createFinder(appModule));