private ApplicationContext createSpringContext() { ApplicationHandler applicationHandler = injectionManager.getInstance(ApplicationHandler.class); ApplicationContext springContext = (ApplicationContext) applicationHandler.getConfiguration() .getProperty(PARAM_SPRING_CONTEXT); if (springContext == null) { String contextConfigLocation = (String) applicationHandler.getConfiguration() .getProperty(PARAM_CONTEXT_CONFIG_LOCATION); springContext = createXmlSpringConfiguration(contextConfigLocation); } return springContext; }
init(new WebFilterConfig(filterConfig)); final String regex = (String) getConfiguration().getProperty(ServletProperties.FILTER_STATIC_CONTENT_REGEX); if (regex != null && !regex.isEmpty()) { try {
init(new WebFilterConfig(filterConfig)); final String regex = (String) getConfiguration().getProperty(ServletProperties.FILTER_STATIC_CONTENT_REGEX); if (regex != null && !regex.isEmpty()) { try {
final Object p = getProperty(ServerProperties.PROVIDER_SCANNING_RECURSIVE); final boolean recursive = p == null || PropertiesHelper.isProperty(p); rfs.add(new PackageNamesScanner(packageNames, recursive));
final Object p = getProperty(ServerProperties.PROVIDER_SCANNING_RECURSIVE); final boolean recursive = p == null || PropertiesHelper.isProperty(p); rfs.add(new PackageNamesScanner(packageNames, recursive));
final Object p = getProperty(ServerProperties.PROVIDER_SCANNING_RECURSIVE); final boolean recursive = p == null || PropertiesHelper.isProperty(p); rfs.add(new PackageNamesScanner(packageNames, recursive));
/** * <p>getProperty.</p> * * @param name a {@link java.lang.String} object. * @return a {@link java.lang.Object} object. */ public Object getProperty(String name) { return config.getProperty(name); }
private void cleanupResourceConfigs() { for (Map.Entry<String, ResourceConfig> e : _resourceConfigMap.entrySet()) { ServerContext ctx = (ServerContext) e.getValue().getProperty(ContextPropertyKeys.SERVER_CONTEXT.name()); if (ctx == null) { LOG.info("Server context for servlet " + e.getKey() + " is null."); } else { LOG.info("Closing context for servlet " + e.getKey()); ctx.close(); } } }
private ApplicationContext createSpringContext() { ApplicationHandler applicationHandler = injectionManager.getInstance(ApplicationHandler.class); ApplicationContext springContext = (ApplicationContext) applicationHandler.getConfiguration() .getProperty(PARAM_SPRING_CONTEXT); if (springContext == null) { String contextConfigLocation = (String) applicationHandler.getConfiguration() .getProperty(PARAM_CONTEXT_CONFIG_LOCATION); springContext = createXmlSpringConfiguration(contextConfigLocation); } return springContext; }
public NettyContainer(Application application, SecurityContextFactory securityContextFactory) { this.appHandler = new ApplicationHandler(application); this.securityContextFactory = securityContextFactory; this.baseUri = (URI) this.getConfiguration().getProperty(PROPERTY_BASE_URI); this.chunkedRequestAssembler = new ChunkedRequestAssembler(); }
Object service = rc.getProperty("jadexservice");
init(new WebFilterConfig(filterConfig)); final String regex = (String) getConfiguration().getProperty(ServletProperties.FILTER_STATIC_CONTENT_REGEX); if (regex != null && !regex.isEmpty()) { try {
init(new WebFilterConfig(filterConfig)); final String regex = (String) getConfiguration().getProperty(ServletProperties.FILTER_STATIC_CONTENT_REGEX); if (regex != null && !regex.isEmpty()) { try {
init(new WebFilterConfig(filterConfig)); final String regex = (String) getConfiguration().getProperty(ServletProperties.FILTER_STATIC_CONTENT_REGEX); if (regex != null && !regex.isEmpty()) { try {
init(new WebFilterConfig(filterConfig)); final String regex = (String) getConfiguration().getProperty(ServletProperties.FILTER_STATIC_CONTENT_REGEX); if (regex != null && !regex.isEmpty()) { try {
final Object p = getProperty(ServerProperties.PROVIDER_SCANNING_RECURSIVE); final boolean recursive = p == null || PropertiesHelper.isProperty(p); rfs.add(new PackageNamesScanner(packageNames, recursive));
Object service = rc.getProperty("jadexservice");
final Object p = getProperty(ServerProperties.PROVIDER_SCANNING_RECURSIVE); final boolean recursive = p == null || PropertiesHelper.isProperty(p); rfs.add(new PackageNamesScanner(packageNames, recursive));
final Object p = getProperty(ServerProperties.PROVIDER_SCANNING_RECURSIVE); final boolean recursive = p == null || PropertiesHelper.isProperty(p); rfs.add(new PackageNamesScanner(packageNames, recursive));
final Object p = getProperty(ServerProperties.PROVIDER_SCANNING_RECURSIVE); final boolean recursive = p == null || PropertiesHelper.isProperty(p); rfs.add(new PackageNamesScanner(packageNames, recursive));