Examples of NullLogger


Examples of org.apache.avalon.framework.logger.NullLogger

    public void testDoubleAssignOfContext()
    {
        FullLifecycleComponent component = new FullLifecycleComponent();

        component.enableLogging( new NullLogger() );
        try
        {
            component.contextualize( new DefaultContext() );
            component.contextualize( new DefaultContext() );
        }
View Full Code Here

Examples of org.apache.avalon.framework.logger.NullLogger

    public void testDoubleAssignOfParameters()
        throws Exception
    {
        FullLifecycleComponent component = new FullLifecycleComponent();

        component.enableLogging( new NullLogger() );
        component.contextualize( new DefaultContext() );
        component.service( new DefaultServiceManager() );
        component.configure( new DefaultConfiguration( "", "" ) );

        try
View Full Code Here

Examples of org.apache.avalon.framework.logger.NullLogger

    public void testDoubleAssignOfConfiguration() throws Exception
    {
        FullLifecycleComponent component = new FullLifecycleComponent();

        component.enableLogging( new NullLogger() );
        component.contextualize( new DefaultContext() );
        component.service( new DefaultServiceManager() );

        try
        {
View Full Code Here

Examples of org.apache.avalon.framework.logger.NullLogger

        m_tempDir.mkdir();
       
        m_store = new JispFilesystemStore();
       
        //enable logging
        m_store.enableLogging(new NullLogger());
       
        //parameters
        final Parameters params = new Parameters();
        params.setParameter("directory", m_tempDir.toString());
        params.makeReadOnly();
View Full Code Here

Examples of org.apache.avalon.framework.logger.NullLogger

    }

    public void setUp() throws Exception
    {
        m_manager = new ServiceMetaManager();
        ContainerUtil.enableLogging( m_manager, new NullLogger() );
        ContainerUtil.initialize( m_manager );
    }
View Full Code Here

Examples of org.apache.avalon.framework.logger.NullLogger

        return suite;
    }

    public Log getLogObject() {
        // Output does not seem to be used, so don't display it.
        Log log = new AvalonLogger(new NullLogger());
        return log;
    }
View Full Code Here

Examples of org.apache.avalon.framework.logger.NullLogger

            m_threadPool.setKeepAliveTime( m_keepAliveTime );
        }

        if( null == getLogger() )
        {
            this.enableLogging( new NullLogger() );
        }

        setExecutor( m_threadPool );

        super.initialize();
View Full Code Here

Examples of org.apache.avalon.framework.logger.NullLogger

        m_failureHandler = NullCommandFailureHandler.SHARED_INSTANCE;
        m_queue.setEnqueuePredicate(this);
        m_isAccepting = true;

        // if no logger is set ensure a valid one is there.
        enableLogging(new NullLogger());
    }
View Full Code Here

Examples of org.apache.avalon.framework.logger.NullLogger

     */
    public PrepareHandlerCommand( final ComponentHandler handler,
                                  final Logger logger )
    {
        m_handler = handler;
        m_logger = ( null == logger ) ? new NullLogger() : logger;
    }
View Full Code Here

Examples of org.apache.avalon.framework.logger.NullLogger

    }

    private static void setupExtensions( FortressConfig config )
    {
        LifecycleExtensionManager extensions = new LifecycleExtensionManager();
        extensions.enableLogging(new NullLogger());
        extensions.addAccessorExtension( new Extensions() );

        config.setLifecycleExtensionManager(extensions);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.