资源简介
jcl-over-slf4j-1.7.2.jar
jul-to-slf4j-1.7.2.jar
log4j-over-slf4j-1.7.2.jar
slf4j-api-1.7.2.jar
slf4j-ext-1.7.2.jar
slf4j-jcl-1.7.2.jar
slf4j-jdk14-1.7.2.jar
slf4j-log4j12-1.7.2.jar
slf4j-migrator-1.7.2.jar
slf4j-nop-1.7.2.jar
slf4j-simple-1.7.2.jar
代码片段和文件信息
/**
* Copyright (c) 2004-2011 QOS.ch
* All rights reserved.
*
* Permission is hereby granted free of charge to any person obtaining
* a copy of this software and associated documentation files (the
* “Software“) to deal in the Software without restriction including
* without limitation the rights to use copy modify merge publish
* distribute sublicense and/or sell copies of the Software and to
* permit persons to whom the Software is furnished to do so subject to
* the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED “AS IS“ WITHOUT WARRANTY OF ANY KIND
* EXPRESS OR IMPLIED INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
* LIABLE FOR ANY CLAIM DAMAGES OR OTHER LIABILITY WHETHER IN AN ACTION
* OF CONTRACT TORT OR OTHERWISE ARISING FROM OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
*/
package integrator;
import org.osgi.framework.Bundle;
import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* A BundleActivator which invokes slf4j loggers
* @author Ceki Gülcü
*
*/
public class Activator implements BundleActivator {
private BundleContext m_context = null;
public void start(BundleContext context) {
Logger logger = LoggerFactory.getLogger(this.getClass());
logger.info(“Activator.start()“);
m_context = context;
}
public void stop(BundleContext context) {
m_context = null;
Logger logger = LoggerFactory.getLogger(this.getClass());
logger.info(“Activator.stop“);
}
public Bundle[] getBundles() {
if (m_context != null) {
return m_context.getBundles();
}
return null;
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2012-10-11 20:54 slf4j-1.7.2\
目录 0 2012-10-11 20:54 slf4j-1.7.2\slf4j-api\
文件 2689 2012-10-11 20:51 slf4j-1.7.2\slf4j-api\pom.xm
目录 0 2012-10-11 20:54 slf4j-1.7.2\slf4j-jcl\
文件 1602 2012-10-11 20:51 slf4j-1.7.2\slf4j-jcl\pom.xm
目录 0 2012-10-11 20:54 slf4j-1.7.2\slf4j-jdk14\
文件 1702 2012-10-11 20:51 slf4j-1.7.2\slf4j-jdk14\pom.xm
目录 0 2012-10-11 20:54 slf4j-1.7.2\slf4j-log4j12\
文件 1599 2012-10-11 20:51 slf4j-1.7.2\slf4j-log4j12\pom.xm
目录 0 2012-10-11 20:54 slf4j-1.7.2\slf4j-nop\
文件 1480 2012-10-11 20:51 slf4j-1.7.2\slf4j-nop\pom.xm
目录 0 2012-10-11 20:54 slf4j-1.7.2\slf4j-simple\
文件 1472 2012-10-11 20:51 slf4j-1.7.2\slf4j-simple\pom.xm
目录 0 2012-10-11 20:54 slf4j-1.7.2\slf4j-ext\
文件 3366 2012-10-11 20:51 slf4j-1.7.2\slf4j-ext\pom.xm
目录 0 2012-10-11 20:54 slf4j-1.7.2\jcl-over-slf4j\
文件 1854 2012-10-11 20:51 slf4j-1.7.2\jcl-over-slf4j\pom.xm
目录 0 2012-10-11 20:54 slf4j-1.7.2\jul-to-slf4j\
文件 1951 2012-10-11 20:51 slf4j-1.7.2\jul-to-slf4j\pom.xm
目录 0 2012-10-11 20:54 slf4j-1.7.2\log4j-over-slf4j\
文件 1806 2012-10-11 20:51 slf4j-1.7.2\log4j-over-slf4j\pom.xm
目录 0 2012-10-11 20:54 slf4j-1.7.2\slf4j-site\
文件 1305 2012-10-11 20:51 slf4j-1.7.2\slf4j-site\pom.xm
目录 0 2012-10-11 20:54 slf4j-1.7.2\slf4j-migrator\
文件 1249 2012-10-11 20:51 slf4j-1.7.2\slf4j-migrator\pom.xm
目录 0 2012-10-11 20:54 slf4j-1.7.2\integration\
文件 7060 2012-09-06 15:44 slf4j-1.7.2\integration\build.xm
目录 0 2012-10-11 20:54 slf4j-1.7.2\integration\lib\
文件 121070 2009-12-30 17:15 slf4j-1.7.2\integration\lib\junit-3.8.1.jar
文件 23671 2010-09-02 21:22 slf4j-1.7.2\integration\lib\slf4j-api-1.5.11.jar
文件 26176 2012-09-06 15:43 slf4j-1.7.2\integration\lib\slf4j-api-1.6.6.jar
............此处省略1470个文件信息
- 上一篇:宠物诊所信息管理系统 源代码
- 下一篇:oracle11g驱动jar包 绿色版
相关资源
- slf4j-1.7.7完整jar包
- Android自定义漂亮Dialog中嵌入自定义时
- log4j各版本jar包
- j2ee个人博客系统
- 简易的创新创业申请审核管理系统
- Java反序列化工具.zip
- servlet库,commons-logging.jar,commons-bea
- java实现QQ第三方登录
- Android自定义ProgressDialog
- android等待对话框可定时自动关闭
- Android基于eclipse的学生信息管理系统
- 泛微OA ecology 二次开发 开发完整说明
- commons-logging-1.0.4.jar、json-lib-2.4-jdk15
- javaee mysql 的blog源码,带数据库和源代
- android 自定义progressdialog
- 4种平台抓LOG方法汇总
- 泛微E-cology 二次开发Java Jar包
- DLOG4J JAVAEE多用户博客
- android二维码扫描、读取、识别、生成
- java web个人博客blog
- LoginDemo.zip
- MyStore-RegisterAndLogin-master.zip
- android 闹钟提醒并且在锁屏下弹出Di
- wlfullclient.jar(weblogic完整jar包)
- android 在屏幕上打印log
- 超炫dialog对话框
- android开发,登陆、注册、获取经纬度
- Android开发丶使用DialogFragment完成炫酷
- weblogic.jar/wlclient.jar/wls-api.jar相关jar包
- android仿制qq登陆界面
评论
共有 条评论