public RequestSecurityManagerImpl(Request request, Response response, ComponentEventLinkEncoder componentEventLinkEncoder, MetaDataLocator locator, @Symbol(SymbolConstants.SECURE_ENABLED) boolean securityEnabled) { this.request = request; this.response = response; this.componentEventLinkEncoder = componentEventLinkEncoder; this.locator = locator; this.securityEnabled = securityEnabled; }
@Override public <T> T provide(Class<T> objectType, AnnotationProvider annotationProvider, ObjectLocator locator) { Symbol annotation = annotationProvider.getAnnotation(Symbol.class); if (annotation == null) return null; Object value = symbolSource.valueForSymbol(annotation.value()); IntermediateType it = annotationProvider.getAnnotation(IntermediateType.class); if (it != null) value = typeCoercer.coerce(value, it.value()); return typeCoercer.coerce(value, objectType); }
@Override public <T> T provide(Class<T> objectType, AnnotationProvider annotationProvider, ObjectLocator locator) { Symbol annotation = annotationProvider.getAnnotation(Symbol.class); if (annotation == null) return null; Object value = symbolSource.valueForSymbol(annotation.value()); IntermediateType it = annotationProvider.getAnnotation(IntermediateType.class); if (it != null) value = typeCoercer.coerce(value, it.value()); return typeCoercer.coerce(value, objectType); }
public DefaultHibernateConfigurer( @Symbol(HibernateSymbols.DEFAULT_CONFIGURATION) boolean defaultConfiguration) { this.defaultConfiguration = defaultConfiguration; }
public TemplateParserImpl(Map<String, URL> configuration, @Symbol(SymbolConstants.COMPRESS_WHITESPACE) boolean defaultCompressWhitespace, OperationTracker tracker) { this.configuration = configuration; this.defaultCompressWhitespace = defaultCompressWhitespace; this.tracker = tracker; }
public ConfigureHTMLElementFilter(ThreadLocale threadLocale, @Symbol(SymbolConstants.PRODUCTION_MODE) boolean productionMode) { this.threadLocale = threadLocale; this.debugEnabled = !productionMode; }
public ReloadHelperImpl(AlertManager alertManager, @Symbol(SymbolConstants.PRODUCTION_MODE) boolean productionMode) { this.alertManager = alertManager; this.productionMode = productionMode; }
public GoogleClosureMinimizer(Logger logger, OperationTracker tracker, AssetChecksumGenerator checksumGenerator, Request request, @Symbol(WebResourcesSymbols.COMPILATION_LEVEL) CompilationLevel compilationLevel) { super(logger, tracker, checksumGenerator, "text/javascript"); this.request = request; this.compilationLevel = compilationLevel; }
public SelectorBindingFactory(Logger logger, JavaScriptSupport javaScriptSupport,RenderTracker selectorTracker, @Symbol(JQuerySymbolConstants.JQUERY_ALIAS) String alias) { this.selectorTracker = selectorTracker; this.alias = alias; }
public DefaultHibernateConfigurer( @Symbol(HibernateSymbols.DEFAULT_CONFIGURATION) boolean defaultConfiguration) { this.defaultConfiguration = defaultConfiguration; }
public InternalComponentInvalidationEventHubImpl(@Symbol(SymbolConstants.PRODUCTION_MODE) boolean productionMode) { super(productionMode); }
public ResponseCompressionAnalyzerImpl(HttpServletRequest request, @Symbol(SymbolConstants.GZIP_COMPRESSION_ENABLED) boolean gzipCompressionEnabled, CompressionAnalyzer compressionAnalyzer) { this.request = request; this.gzipCompressionEnabled = gzipCompressionEnabled; this.compressionAnalyzer = compressionAnalyzer; }
public GoogleClosureMinimizer(Logger logger, OperationTracker tracker, AssetChecksumGenerator checksumGenerator, Request request, @Symbol(WebResourcesSymbols.COMPILATION_LEVEL) CompilationLevel compilationLevel) { super(logger, tracker, checksumGenerator, "text/javascript"); this.request = request; this.compilationLevel = compilationLevel; }
public PageContentTypeAnalyzerImpl(MetaDataLocator metaDataLocator, @Symbol(SymbolConstants.CHARSET) String outputCharset) { this.metaDataLocator = metaDataLocator; this.outputCharset = outputCharset; }
public ApplicationStackTraceElementAnalyzer(@Symbol(InternalConstants.TAPESTRY_APP_PACKAGE_PARAM) String appPackage) { this.appPackage = appPackage; }
public GZipFilter( @Symbol(SymbolConstants.MIN_GZIP_SIZE) int cutover, ResponseCompressionAnalyzer responseAnalyzer, CompressionAnalyzer compressionAnalyzer) { this.cutover = cutover; this.responseAnalyzer = responseAnalyzer; this.compressionAnalyzer = compressionAnalyzer; }
public MultipartDecoderImpl( FileItemFactory fileItemFactory, @Symbol(UploadSymbols.REQUESTSIZE_MAX) long maxRequestSize, @Symbol(UploadSymbols.FILESIZE_MAX) long maxFileSize, @Symbol(SymbolConstants.CHARSET) String requestEncoding) { this.fileItemFactory = fileItemFactory; this.maxRequestSize = maxRequestSize; this.maxFileSize = maxFileSize; this.requestEncoding = requestEncoding; }
public MultipartDecoderImpl( FileItemFactory fileItemFactory, @Symbol(UploadSymbols.REQUESTSIZE_MAX) long maxRequestSize, @Symbol(UploadSymbols.FILESIZE_MAX) long maxFileSize, @Symbol(SymbolConstants.CHARSET) String requestEncoding) { this.fileItemFactory = fileItemFactory; this.maxRequestSize = maxRequestSize; this.maxFileSize = maxFileSize; this.requestEncoding = requestEncoding; }
public ImportJQueryUIWorker(AssetSource assetSource, JavaScriptSupport javaScriptSupport, Request request, @Symbol(JQuerySymbolConstants.JQUERY_UI_PATH) String jqueryUIBase, @Symbol(JQuerySymbolConstants.JQUERY_UI_DEFAULT_THEME) String themePath, @Symbol(JQuerySymbolConstants.ADD_MOUSEWHEEL_EVENT) boolean mouseWheelIncluded) { this.assetSource = assetSource; this.javaScriptSupport = javaScriptSupport; this.jqueryUIBase = jqueryUIBase; this.themePath = themePath; this.mouseWheelIncluded = mouseWheelIncluded; }
public JavaScriptStackPathConstructorImpl(ThreadLocale threadLocale, AssetPathConstructor assetPathConstructor, JavaScriptStackSource javascriptStackSource, JavaScriptStackAssembler assembler, ResponseCompressionAnalyzer compressionAnalyzer, @Symbol(SymbolConstants.COMBINE_SCRIPTS) boolean combineScripts) { this.threadLocale = threadLocale; this.assetPathConstructor = assetPathConstructor; this.javascriptStackSource = javascriptStackSource; this.assembler = assembler; this.compressionAnalyzer = compressionAnalyzer; this.combineScripts = combineScripts; }