public class OpenWebBeansConfiguration extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
APPLICATION_IS_JSP
Application is core JSP
|
static String |
APPLICATION_SUPPORTS_CONVERSATION
Supports conversations
|
static String |
CONTAINER_LIFECYCLE
Container lifecycle
|
static String |
CONTEXTS_SERVICE
Contexts Service
|
static String |
CONVERSATION_PERIODIC_DELAY
Conversation periodic delay in ms.
|
static String |
CONVERSATION_SERVICE
Conversation Service
|
static String |
CONVERSATION_TIMEOUT_INTERVAL
Timeout interval in ms
|
static String |
EL_ADAPTOR_CLASS
EL Adaptor
|
static String |
IGNORED_INTERFACES
a comma-separated list of fully qualified class names that should be ignored
when determining if a decorator matches its delegate.
|
static String |
INTERCEPTOR_FORCE_NO_CHECKED_EXCEPTIONS
Lifycycle methods like
PostConstruct and
PreDestroy must not define a checked Exception
regarding to the spec. |
static String |
JNDI_SERVICE
JNDI Service SPI
|
static String |
PROXY_MAPPING_PREFIX
prefix followed by the fully qualified scope name, for configuring InterceptorHandlers for our proxies.
|
static String |
RESOURCE_INJECTION_SERVICE
Resource Injection Service
|
static String |
SCANNER_SERVICE
Scanner Service
|
static String |
SECURITY_SERVICE
Security Service
|
static String |
TRANSACTION_SERVICE
Transaction Service
|
static String |
USE_BDA_BEANSXML_SCANNER
Use BDABeansXmlScanner to determine if interceptors, decorators, and
alternatives are enabled in the beans.xml of a given BDA.
|
static String |
USE_EJB_DISCOVERY
Use EJB Discovery or not
|
static String |
USE_EJBINTERCEPTOR_ACTIVATION
Use of EJB interceptor to activate EJB contexts
|
static String |
USE_EJBINTERCEPTOR_INJECTION
Use of EJB interceptor to inject EJBs
|
static String |
VALIDATOR_SERVICE
Validator Service
|
| Constructor and Description |
|---|
OpenWebBeansConfiguration()
Parse configuration.
|
OpenWebBeansConfiguration(Properties properties)
you can configure this externally as well.
|
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getIgnoredInterfaces() |
String |
getProperty(String key)
Gets property.
|
String |
getProperty(String key,
String defaultValue)
Gets property value.
|
boolean |
isJspApplication()
Gets jsp property.
|
boolean |
isUseEJBInterceptorActivation()
Gets EJB context activation property.
|
boolean |
isUseEJBInterceptorInjection()
Gets EJB injection property.
|
void |
parseConfiguration()
(re)read the configuration from the resources in the classpath.
|
void |
setProperty(String key,
Object value)
Sets given property.
|
boolean |
supportsConversation()
Gets conversation supports property.
|
public static final String CONVERSATION_PERIODIC_DELAY
public static final String CONVERSATION_TIMEOUT_INTERVAL
public static final String INTERCEPTOR_FORCE_NO_CHECKED_EXCEPTIONS
PostConstruct and
PreDestroy must not define a checked Exception
regarding to the spec. But this is often unnecessary restrictive so we
allow to disable this check application wide.public static final String USE_EJB_DISCOVERY
public static final String CONTAINER_LIFECYCLE
public static final String JNDI_SERVICE
public static final String SCANNER_SERVICE
public static final String CONTEXTS_SERVICE
public static final String CONVERSATION_SERVICE
public static final String RESOURCE_INJECTION_SERVICE
public static final String SECURITY_SERVICE
public static final String VALIDATOR_SERVICE
public static final String TRANSACTION_SERVICE
public static final String APPLICATION_IS_JSP
public static final String APPLICATION_SUPPORTS_CONVERSATION
public static final String USE_EJBINTERCEPTOR_INJECTION
public static final String USE_EJBINTERCEPTOR_ACTIVATION
public static final String EL_ADAPTOR_CLASS
public static final String PROXY_MAPPING_PREFIX
public static final String USE_BDA_BEANSXML_SCANNER
public static final String IGNORED_INTERFACES
public OpenWebBeansConfiguration(Properties properties)
properties - public OpenWebBeansConfiguration()
public void parseConfiguration()
throws WebBeansConfigurationException
public String getProperty(String key)
key - nullpublic String getProperty(String key, String defaultValue)
key - defaultValue - nullpublic void setProperty(String key, Object value)
key - property namevalue - property valuepublic boolean isJspApplication()
public boolean supportsConversation()
public boolean isUseEJBInterceptorInjection()
public boolean isUseEJBInterceptorActivation()
Copyright © 2008-2013 The Apache Software Foundation. All Rights Reserved.