资源简介
从官网下载的slf4j 1.7.7jar包,完整的
代码片段和文件信息
/**
* 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 2014-04-04 13:12 slf4j-1.7.7\
目录 0 2014-04-04 13:12 slf4j-1.7.7\slf4j-api\
文件 2689 2014-04-04 13:07 slf4j-1.7.7\slf4j-api\pom.xm
目录 0 2014-04-04 13:12 slf4j-1.7.7\slf4j-jcl\
文件 1602 2014-04-04 13:07 slf4j-1.7.7\slf4j-jcl\pom.xm
目录 0 2014-04-04 13:12 slf4j-1.7.7\slf4j-jdk14\
文件 1702 2014-04-04 13:07 slf4j-1.7.7\slf4j-jdk14\pom.xm
目录 0 2014-04-04 13:12 slf4j-1.7.7\slf4j-log4j12\
文件 1599 2014-04-04 13:07 slf4j-1.7.7\slf4j-log4j12\pom.xm
目录 0 2014-04-04 13:12 slf4j-1.7.7\slf4j-nop\
文件 1480 2014-04-04 13:07 slf4j-1.7.7\slf4j-nop\pom.xm
目录 0 2014-04-04 13:12 slf4j-1.7.7\slf4j-simple\
文件 1472 2014-04-04 13:07 slf4j-1.7.7\slf4j-simple\pom.xm
目录 0 2014-04-04 13:12 slf4j-1.7.7\slf4j-android\
文件 2326 2014-04-04 13:07 slf4j-1.7.7\slf4j-android\pom.xm
目录 0 2014-04-04 13:12 slf4j-1.7.7\slf4j-ext\
文件 3366 2014-04-04 13:07 slf4j-1.7.7\slf4j-ext\pom.xm
目录 0 2014-04-04 13:12 slf4j-1.7.7\jcl-over-slf4j\
文件 1854 2014-04-04 13:07 slf4j-1.7.7\jcl-over-slf4j\pom.xm
目录 0 2014-04-04 13:12 slf4j-1.7.7\jul-to-slf4j\
文件 1951 2014-04-04 13:07 slf4j-1.7.7\jul-to-slf4j\pom.xm
目录 0 2014-04-04 13:12 slf4j-1.7.7\log4j-over-slf4j\
文件 1806 2014-04-04 13:07 slf4j-1.7.7\log4j-over-slf4j\pom.xm
目录 0 2014-04-04 13:12 slf4j-1.7.7\osgi-over-slf4j\
文件 1798 2014-04-04 13:07 slf4j-1.7.7\osgi-over-slf4j\pom.xm
目录 0 2014-04-04 13:12 slf4j-1.7.7\slf4j-site\
文件 1305 2014-04-04 13:07 slf4j-1.7.7\slf4j-site\pom.xm
目录 0 2014-04-04 13:12 slf4j-1.7.7\slf4j-migrator\
文件 1249 2014-04-04 13:07 slf4j-1.7.7\slf4j-migrator\pom.xm
目录 0 2014-04-04 13:12 slf4j-1.7.7\integration\
文件 7060 2013-07-12 11:47 slf4j-1.7.7\integration\build.xm
............此处省略1563个文件信息
- 上一篇:android拍照后将照片上传服务器的
- 下一篇:javaweb购物商城-鞋动起来
相关资源
- sqlserver2008连接所需jar包六个
- jdk和cglib动态代理的{jar包+源码}
- cglibjar包
- 传智itcast-bookstore所需jar包
- kettle连接数据库相关jar包
- mysql-connector-java-5.1.17.jar
- Android直连Mysql数据库需要导入的jar包
- oracle11g jar包for JDBC
- oracle 11g jdbc jar包
- mysql-5.1.40-bin jar包
- DBCP 数据源jar包
- c3p0-0.9.5.2的三个jar包 数据库连接池
- jersey1.18 jar包
- 使用JSTL需要的jar包程序文件
- JavaMail的JAR包
- 连接数据库mysql所需jar包
- slf4j-nop-1.7.7.jar
- DbVisualizer 10.0.14 破解jar包
- smali jar包
- android-support-design.jar(24.0.0版本)
- Spring+SpringMVC+Mybatis整合代码+所有Spr
- Spring3.1 MongoDB整合含jar包已测
- spring 整合 mongodb 需要的jar包
- 简体繁体转换jar包
- java android 繁简体互转jar包
- 文件加密工具带jar包
- sql server驱动jar包
- sql server jar包
- rest项目所需的jar包
- dubbo多个版本-jar包
评论
共有 条评论