Uses of Class
com.vaadin.browserless.BrowserlessApplicationContext.Builder
Packages that use BrowserlessApplicationContext.Builder
-
Uses of BrowserlessApplicationContext.Builder in com.vaadin.browserless
Methods in com.vaadin.browserless that return BrowserlessApplicationContext.BuilderModifier and TypeMethodDescriptionBrowserlessApplicationContext.Builder.withApplicationProperties(Map<String, String> properties) Sets Vaadin application properties (init parameters) for this application.BrowserlessApplicationContext.Builder.withApplicationProperty(String name, String value) Sets a Vaadin application property (init parameter) for this application.BrowserlessApplicationContext.Builder.withCloseHook(Runnable hook) Registers a hook to be invoked when the built application context is closed.BrowserlessApplicationContext.Builder.withComponentTesterPackages(Class<?>... classes) Adds the packages of the given classes to the set of packages to scan forComponentTesterimplementations annotated withTests.BrowserlessApplicationContext.Builder.withComponentTesterPackages(String... packages) Adds packages to scan forComponentTesterimplementations annotated withTests.BrowserlessApplicationContext.Builder.withConfiguration(BrowserlessConfiguration testConfiguration) Applies the given custom Vaadin configuration to this builder, replacing previously set entries with the same names.BrowserlessApplicationContext.Builder.withFeatureFlag(com.vaadin.experimental.Feature feature, boolean enabled) Enables or disables the given Vaadin feature flag for this application, overriding the value potentially defined in the vaadin-featureflags.properties file or in system properties.BrowserlessApplicationContext.Builder.withFeatureFlag(String featureId, boolean enabled) Enables or disables the given Vaadin feature flag for this application, overriding the value potentially defined in the vaadin-featureflags.properties file or in system properties.BrowserlessApplicationContext.Builder.withFeatureFlags(com.vaadin.experimental.Feature... features) Enables the given Vaadin feature flags for this application, overriding the values potentially defined in the vaadin-featureflags.properties file or in system properties.BrowserlessApplicationContext.Builder.withFeatureFlags(String... featureIds) Enables the given Vaadin feature flags for this application, overriding the values potentially defined in the vaadin-featureflags.properties file or in system properties.BrowserlessApplicationContext.Builder.withLookupServices(Class<?>... services) Adds the given Vaadin Lookup service classes to the set configured for this builder.BrowserlessApplicationContext.Builder.withoutRoutes()Disables@Routediscovery for this builder by seeding an emptyRoutesinstance.BrowserlessApplicationContext.Builder.withServletFactory(BiFunction<Routes, UIFactory, com.vaadin.flow.server.VaadinServlet> factory) Sets a custom servlet factory.BrowserlessApplicationContext.Builder.withSessionLockIsolation(boolean sessionLockIsolation) Deprecated.session lock isolation is enabled by default and disabling it is meant only as a temporary way to keep existing tests running.BrowserlessApplicationContext.Builder.withUIFactory(UIFactory uiFactory) Sets the UI factory used when creating UI instances for this application's windows.BrowserlessApplicationContext.Builder.withViewPackages(Class<?>... classes) Adds the packages of the given classes to the set of packages to scan for@Route-annotated views.BrowserlessApplicationContext.Builder.withViewPackages(String... packages) Adds packages to scan for@Route-annotated views.Method parameters in com.vaadin.browserless with type arguments of type BrowserlessApplicationContext.BuilderModifier and TypeMethodDescriptionBrowserlessApplicationContext.create(UnaryOperator<BrowserlessApplicationContext.Builder> configurer) Creates a plain Java application context, applying the given configurer to a fresh builder beforebuildingit.static <C> SecuredBrowserlessApplicationContext<C> BrowserlessApplicationContext.createSecured(Function<BrowserlessApplicationContext.Builder, SecuredBrowserlessApplicationContext.Builder<C>> configurer) Creates a credential-typed application context.