@Override public FedizContext getFedizContext() { if (contextName != null) { LOG.debug("Reading federation configuration for context '{}'", contextName); return getFedizContext(contextName); } else { Assert.notNull(contextName, "Property 'contextName' must be configured because ServletContext null"); return getFedizContext(contextName); } }
@Override public FedizContext getFedizContext(String context) { FedizContext ctx = configurator.getFedizContext(context); if (ctx == null) { LOG.error("Federation context '" + context + "' not found."); throw new IllegalStateException("Federation context '" + context + "' not found."); } initializeRelativePath(ctx); return ctx; }
@Override public FedizContext getFedizContext(String context) { FedizContext ctx = configurator.getFedizContext(context); if (ctx == null) { LOG.error("Federation context '" + context + "' not found."); throw new IllegalStateException("Federation context '" + context + "' not found."); } initializeRelativePath(ctx); return ctx; }
@Override public FedizContext getFedizContext() { if (servletContext != null) { LOG.debug("Reading federation configuration for context '{}'", servletContext.getContextPath()); return getFedizContext(servletContext.getContextPath()); } else { Assert.notNull(contextName, "Property 'contextName' must be configured because ServletContext null"); return getFedizContext(contextName); } }
@Override public FedizContext getFedizContext(String context) { FedizContext ctx = configurator.getFedizContext(context); if (ctx == null) { LOG.error("Federation context '" + context + "' not found."); throw new IllegalStateException("Federation context '" + context + "' not found."); } initializeRelativePath(ctx); return ctx; }
@Override public FedizContext getFedizContext() { if (servletContext != null) { LOG.debug("Reading federation configuration for context '{}'", servletContext.getContextPath()); return getFedizContext(servletContext.getContextPath()); } else { Assert.notNull(contextName, "Property 'contextName' must be configured because ServletContext null"); return getFedizContext(contextName); } }