org.apache.myfaces.extensions.cdi.core.api.config
Class CodiCoreConfig
java.lang.Object
org.apache.myfaces.extensions.cdi.core.api.config.AbstractAttributeAware
org.apache.myfaces.extensions.cdi.core.api.config.CodiCoreConfig
- All Implemented Interfaces:
- Serializable, AttributeAware, CodiConfig
@ApplicationScoped
public class CodiCoreConfig
- extends AbstractAttributeAware
- implements CodiConfig
Configuration for the core of CODI - it's customizable via the @Alternative or @Specializes mechanism of CDI.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CodiCoreConfig
protected CodiCoreConfig()
isAdvancedQualifierRequiredForDependencyInjection
public boolean isAdvancedQualifierRequiredForDependencyInjection()
- Per default several artifacts which aren't managed by CDI have to be annotated
with
Advanced
as marker for
performing manual dependency injection. It isn't performed per default because the
majority of those artifacts don't require dependency injection.
- Returns:
- true if the usage of
Advanced
, false otherwise
isConfigurationLoggingEnabled
public boolean isConfigurationLoggingEnabled()
- Allows to disable the logging of the current configuration during the bootstrapping process.
- Returns:
- true if the configuration should be logged, false otherwise
isInvalidBeanCreationEventEnabled
public boolean isInvalidBeanCreationEventEnabled()
- Specifies if the
InvalidBeanCreationEvent
will be fired if a BeanCreationDecisionVoter
detects a violation. This feature is deactivated per default to avoid side-effects.
- Returns:
- true if the event should be fired, false otherwise
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.