Package org.papoose.log

Examples of org.papoose.log.LogServiceImpl.start()


        ExecutorService executor = new ThreadPoolExecutor(1, 5, 100, TimeUnit.MILLISECONDS, new LinkedBlockingQueue<Runnable>());

        LogServiceImpl logServiceImpl = new LogServiceImpl(bundleContext, executor);
        logServiceImpl.setLimit(100);

        logServiceImpl.start();

        bundleContext.registerService(new String[]{ LogService.class.getName(), LogReaderService.class.getName() }, logServiceImpl, null);

        try
        {
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.