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; }
public DefaultHibernateConfigurer( @Symbol(HibernateSymbols.DEFAULT_CONFIGURATION) boolean defaultConfiguration) { this.defaultConfiguration = defaultConfiguration; }
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 TemplateParserImpl(Map<String, URL> configuration, @Symbol(SymbolConstants.COMPRESS_WHITESPACE) boolean defaultCompressWhitespace, OperationTracker tracker) { this.configuration = configuration; this.defaultCompressWhitespace = defaultCompressWhitespace; this.tracker = tracker; }
public ReloadHelperImpl(AlertManager alertManager, @Symbol(SymbolConstants.PRODUCTION_MODE) boolean productionMode) { this.alertManager = alertManager; this.productionMode = productionMode; }
public BaseURLSourceImpl(Request request, @Inject @Symbol(SymbolConstants.HOSTNAME) String hostname, @Symbol(SymbolConstants.HOSTPORT) int hostPort, @Symbol(SymbolConstants.HOSTPORT_SECURE) int secureHostPort) { this.request = request; this.hostname = hostname; this.hostPort = hostPort; this.secureHostPort = secureHostPort; }
/** * The default FileItemFactory used by the MultipartDecoder is * {@link org.apache.commons.fileupload.disk.DiskFileItemFactory}. */ public static FileItemFactory buildDefaultFileItemFactory(@Symbol(UploadSymbols.REPOSITORY_THRESHOLD) int repositoryThreshold, @Symbol(UploadSymbols.REPOSITORY_LOCATION) String repositoryLocation) { return new DiskFileItemFactory(repositoryThreshold, new File(repositoryLocation)); }
/** * The default FileItemFactory used by the MultipartDecoder is * {@link org.apache.commons.fileupload.disk.DiskFileItemFactory}. */ public static FileItemFactory buildDefaultFileItemFactory(@Symbol(UploadSymbols.REPOSITORY_THRESHOLD) int repositoryThreshold, @Symbol(UploadSymbols.REPOSITORY_LOCATION) String repositoryLocation) { return new DiskFileItemFactory(repositoryThreshold, new File(repositoryLocation)); }
public RootPathDispatcher(ComponentClassResolver componentClassResolver, ComponentRequestHandler handler, @Symbol(SymbolConstants.START_PAGE_NAME) String startPageName, LocalizationSetter localizationSetter) { this.componentClassResolver = componentClassResolver; this.handler = handler; this.startPageName = startPageName; this.localizationSetter = localizationSetter; parameters = new PageRenderRequestParameters(this.startPageName, EMPTY_CONTEXT, false); }
public ResourceChangeTrackerImpl(ClasspathURLConverter classpathURLConverter, @Symbol(SymbolConstants.PRODUCTION_MODE) boolean productionMode) { super(productionMode); // Use granularity of seconds (not milliseconds) since that works properly // with response headers for identifying last modified. Don't track // folder changes, just changes to actual files. tracker = productionMode ? null : new URLChangeTracker(classpathURLConverter, true, false); }
@Inject public TestableRequestImpl(@Symbol(SymbolConstants.CONTEXT_PATH) String contextPath) { this.contextPath = contextPath; }
/** * Contributes the package "<root>.entities" to the configuration, so that it will be scanned for annotated * entity classes. */ public static void contributeHibernateEntityPackageManager(Configuration<String> configuration, @Symbol(InternalConstants.TAPESTRY_APP_PACKAGE_PARAM) String appRootPackage) { configuration.add(appRootPackage + ".entities"); }
public ComponentMessagesSourceImpl(@Symbol(SymbolConstants.PRODUCTION_MODE) boolean productionMode, List<Resource> appCatalogResources, PropertiesFileParser parser, ComponentResourceLocator resourceLocator, ClasspathURLConverter classpathURLConverter) { this(productionMode, appCatalogResources, resourceLocator, parser, new URLChangeTracker(classpathURLConverter)); }
public FormControlNameManagerImpl( @Symbol(InternalSymbols.RESERVED_FORM_CONTROL_NAMES) String preselectedFormNames) { this.names = Collections.unmodifiableSet(CollectionFactory.<String,String>newSet(TapestryInternalUtils.splitAtCommas(preselectedFormNames))); }
@Contribute(JpaEntityPackageManager.class) public static void provideEntityPackages(Configuration<String> configuration, @Symbol(InternalConstants.TAPESTRY_APP_PACKAGE_PARAM) String appRootPackage) { configuration.add(appRootPackage + ".entities"); }
@Startup public static void startupEarly(final EntityManagerManager entityManagerManager, @Symbol(JpaSymbols.EARLY_START_UP) final boolean earlyStartup) { if (earlyStartup) { entityManagerManager.getEntityManagers(); } } }
public ComponentTemplateSourceImpl(@Inject @Symbol(SymbolConstants.PRODUCTION_MODE) boolean productionMode, TemplateParser parser, ComponentResourceLocator locator, ClasspathURLConverter classpathURLConverter) { this(productionMode, parser, locator, new URLChangeTracker(classpathURLConverter)); }