Package org.apache.myfaces.extensions.cdi.core.api.logging

Examples of org.apache.myfaces.extensions.cdi.core.api.logging.LoggerDetails


    @Produces
    @LoggerDetails
    public Logger getLoggerForDetails(InjectionPoint injectionPoint)
    {
        LoggerDetails loggerDetails = injectionPoint.getAnnotated().getAnnotation(LoggerDetails.class);

        DefaultLogger logger = new DefaultLogger(loggerDetails.name(),
                                                 loggerDetails.resourceBundleName(),
                                                 loggerDetails.anonymous());

        if(!logger.isValid())
        {
            this.logger.warning("an injection point in " + injectionPoint.getBean().getBeanClass().getName() +
                                " uses an empty qualifier of type " + LoggerDetails.class.getName() +
View Full Code Here


    @Produces
    @Dependent
    @LoggerDetails
    public Logger getLoggerForDetails(InjectionPoint injectionPoint)
    {
        LoggerDetails loggerDetails = injectionPoint.getAnnotated().getAnnotation(LoggerDetails.class);

        DefaultLogger logger = new DefaultLogger(loggerDetails.name(),
                                                 loggerDetails.resourceBundleName(),
                                                 loggerDetails.anonymous());

        if(!logger.isValid())
        {
            java.util.logging.Logger.getLogger(LoggerProducer.class.getName())
                    .warning("an injection point in " + injectionPoint.getBean().getBeanClass().getName() +
View Full Code Here

    @Produces
    @Dependent
    @LoggerDetails
    public Logger getLoggerForDetails(InjectionPoint injectionPoint)
    {
        LoggerDetails loggerDetails = injectionPoint.getAnnotated().getAnnotation(LoggerDetails.class);

        DefaultLogger logger = new DefaultLogger(loggerDetails.name(),
                                                 loggerDetails.resourceBundleName(),
                                                 loggerDetails.anonymous());

        if(!logger.isValid())
        {
            java.util.logging.Logger.getLogger(LoggerProducer.class.getName())
                    .warning("an injection point in " + injectionPoint.getBean().getBeanClass().getName() +
View Full Code Here

    @Produces
    @Dependent
    @LoggerDetails
    public Logger getLoggerForDetails(InjectionPoint injectionPoint)
    {
        LoggerDetails loggerDetails = injectionPoint.getAnnotated().getAnnotation(LoggerDetails.class);

        DefaultLogger logger = new DefaultLogger(loggerDetails.name(),
                                                 loggerDetails.resourceBundleName(),
                                                 loggerDetails.anonymous());

        if(!logger.isValid())
        {
            java.util.logging.Logger.getLogger(LoggerProducer.class.getName())
                    .warning("an injection point in " + injectionPoint.getBean().getBeanClass().getName() +
View Full Code Here

TOP

Related Classes of org.apache.myfaces.extensions.cdi.core.api.logging.LoggerDetails

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.