servletContext.setAttribute( Constants.IS_DISTRIBUTABLE_ATTRIBUTE, Boolean.valueOf(wbd.isDistributable()));
/** * visit a web bundle descriptor * * @param descriptor the web bundle descriptor */ public void accept(WebBundleDescriptor descriptor) { bundleDescriptor = descriptor; if (descriptor.getSessionConfig() == null) { descriptor.setSessionConfig(new SessionConfigDescriptor()); } if (descriptor.isDistributable() == null) { descriptor.setDistributable(Boolean.FALSE); } }
isAppDistributable = _wbd.isDistributable();
T webBundleDesc) { Node jarNode = super.writeDescriptor(parent, webBundleDesc); if (webBundleDesc.isDistributable()) { appendChild(jarNode, WebTagNames.DISTRIBUTABLE);
Boolean otherIsDistributable = webBundleDescriptor.isDistributable(); if (otherIsDistributable != null) { if (isDistributable != null) {
webModule.setDistributable(webModuleDescriptor.isDistributable()); webModule.setReplaceWelcomeFiles(true); configureStandardContext(webModule,webModuleDescriptor);