/** * A formatted String representing my state. */ public void print(StringBuffer toStringBuffer) { toStringBuffer.append("Application"); toStringBuffer.append("\n"); super.print(toStringBuffer); toStringBuffer.append("\n smallIcon ").append(super.getSmallIconUri()); for (ModuleDescriptor<BundleDescriptor> aModule : getModules()) { toStringBuffer.append("\n Module : "); aModule.print(toStringBuffer); } toStringBuffer.append("\n Bundles: \n"); printDescriptorSet(this.getBundleDescriptors(), toStringBuffer); toStringBuffer.append("\n roles ").append(getRoles()); toStringBuffer.append("\n RoleMapper ").append(this.getRoleMapper()); toStringBuffer.append("\n Realm ").append(realm); }
/** * A formatted String representing my state. */ public void print(StringBuffer toStringBuffer) { toStringBuffer.append("Application"); toStringBuffer.append("\n"); super.print(toStringBuffer); toStringBuffer.append("\n smallIcon ").append(super.getSmallIconUri()); for (ModuleDescriptor<BundleDescriptor> aModule : getModules()) { toStringBuffer.append("\n Module : "); aModule.print(toStringBuffer); } toStringBuffer.append("\n EjbBundles: \n"); if (this.getEjbBundleDescriptors() != null) printDescriptorSet(this.getEjbBundleDescriptors(), toStringBuffer); toStringBuffer.append("\n WebBundleDescriptors "); if (this.getWebBundleDescriptors() != null) printDescriptorSet(this.getWebBundleDescriptors(), toStringBuffer); toStringBuffer.append("\n applicationClientDescriptors "); if (this.getApplicationClientDescriptors() != null) printDescriptorSet(this.getApplicationClientDescriptors(), toStringBuffer); toStringBuffer.append("\n roles ").append(getRoles()); toStringBuffer.append("\n RoleMapper ").append(this.getRoleMapper()); toStringBuffer.append("\n Realm ").append(realm); }
Set allRoles = app.getRoles(); if (allRoles == null) { logger.finest("- No roles present.");
Set allRoles = app.getRoles(); if (allRoles == null) { logger.finest("- No roles present.");