| #Licensed to the Apache Software Foundation (ASF) under one |
| #or more contributor license agreements. See the NOTICE file |
| #distributed with this work for additional information |
| #regarding copyright ownership. The ASF licenses this file |
| #to you under the Apache License, Version 2.0 (the |
| #"License"); you may not use this file except in compliance |
| #with the License. You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| #Unless required by applicable law or agreed to in writing, |
| #software distributed under the License is distributed on an |
| #"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| #KIND, either express or implied. See the License for the |
| #specific language governing permissions and limitations |
| #under the License. |
| #--------------------------------------------------------------- |
| # The default configuration for OpenWebBeans |
| # |
| # The default configuration is intended for a JDK and a simple ServletContainer |
| # like jetty, resin or tomcat. |
| # |
| #--------------------------------------------------------------- |
| |
| |
| ################################################################################################ |
| ################################### DEFAULT SPI CONFIGURATION SECTION ########################## |
| ################################################################################################ |
| |
| # this is the basic configuration, thus it has a very low ordinal of 10 |
| configuration.ordinal=10 |
| |
| ################################### Default Container Lifecycle ################################ |
| #Default implementation of org.apache.webbeans.corespi.ContainerLifecycle. |
| org.apache.webbeans.spi.ContainerLifecycle=org.apache.webbeans.lifecycle.StandaloneLifeCycle |
| ################################################################################################ |
| |
| ################################### Default JNDI Service ####################################### |
| #Default implementation of org.apache.webbeans.corespi.JNDIService. |
| org.apache.webbeans.spi.JNDIService=org.apache.webbeans.corespi.se.DefaultJndiService |
| ################################################################################################ |
| |
| ################################### Default Scanner Service #################################### |
| #Default implementation of org.apache.webbeans.corespi.ScannerService. |
| org.apache.webbeans.spi.ScannerService=org.apache.webbeans.corespi.se.DefaultScannerService |
| ################################################################################################ |
| |
| ################################### Default Contexts Service #################################### |
| #Default implementation of org.apache.webbeans.corespi.ContextsService. |
| org.apache.webbeans.spi.ContextsService=org.apache.webbeans.corespi.se.DefaultContextsService |
| ################################################################################################ |
| |
| ################################### Default Contexts Service #################################### |
| # Default SecurityService implementation which directly invokes underlying classes |
| # without using a SecurityManager |
| org.apache.webbeans.spi.SecurityService=org.apache.webbeans.corespi.security.SimpleSecurityService |
| ################################################################################################ |
| |
| ################################ Default Implementation-Loader Service ########################################### |
| # Service which encapsulates the Service-Loader of Java 1.6+ to allow custom implementations to support Java 1.5 |
| org.apache.webbeans.spi.LoaderService=org.apache.webbeans.service.DefaultLoaderService |
| |
| ################################################################################################ |
| #################################### SEVERAL CONFIGURATION PARAMETERS ########################## |
| ################################################################################################ |
| |
| #################################### Use Embedded OpenEJB Discovery ############################ |
| #If it is true, it checks every bean class whether or not represent EJB Bean |
| org.apache.webbeans.spi.deployer.useEjbMetaDataDiscoveryService=false |
| ################################################################################################ |
| |
| ################# Force not having Checked Exceptions in lifecycle methods #################### |
| # If it is true, OWB forces that lifecycle methods like @PreDestroy and @PostConstruct must not |
| # throw any checked exceptions. This is the behaviour which is defined in the EE interceptor |
| # spec. Since this is sometimes way too restrictive, we allow to relax this rule by configuration |
| # The default value is 'true' internally. |
| # ATTENTION: this property works container wide! |
| # org.apache.webbeans.forceNoCheckedExceptions=true |
| ################################################################################################ |
| |
| ################################## OWB Specific Injection ###################################### |
| #If false, uses spec. defined injection with @Inject. Not recommended use as true. |
| #It will be removed in future development. |
| org.apache.webbeans.fieldInjection.useOwbSpecificInjection=false |
| ################################################################################################ |
| |
| ################################# Conversation Support ######################################### |
| org.apache.webbeans.application.supportsConversation=false |
| ################################################################################################ |
| |
| ####################### Archive Centric Beans.xml Scanning ##################################### |
| # If true, will enable decorators, interceptors and alternatives based on the beans.xml |
| # of the appropriate archive. |
| org.apache.webbeans.useBDABeansXMLScanner=false |
| ################################################################################################ |
| |
| ########################### Proxy Implementation Mapping ###################################### |
| # This allows mapping a Scope Annotation class to a specific InterceptorProxy which are |
| # typically sub classes of NormalScopedBeanInterceptorHandler |
| # |
| # org.apache.webbeans.proxy.mapping.javax.enterprise.context.RequestScoped=org.apache.webbeans.intercept.NormalScopedBeanInterceptorHandler |
| org.apache.webbeans.proxy.mapping.javax.enterprise.context.ApplicationScoped=org.apache.webbeans.intercept.ApplicationScopedBeanInterceptorHandler |
| ################################################################################################ |