org.jboss.netty.logging
类 OsgiLoggerFactory

java.lang.Object
  继承者 org.jboss.netty.logging.InternalLoggerFactory
      继承者 org.jboss.netty.logging.OsgiLoggerFactory

public class OsgiLoggerFactory
extends InternalLoggerFactory

创建一个OSGi LogService logger的工厂.


构造方法摘要
OsgiLoggerFactory(org.osgi.framework.BundleContext ctx)
           
OsgiLoggerFactory(org.osgi.framework.BundleContext ctx, InternalLoggerFactory fallback)
           
 
方法摘要
 void destroy()
           
 InternalLoggerFactory getFallback()
           
 org.osgi.service.log.LogService getLogService()
           
 InternalLogger newInstance(java.lang.String name)
          使用指定的名称创建一个logger实例.
 
从类 org.jboss.netty.logging.InternalLoggerFactory 继承的方法
getDefaultFactory, getInstance, getInstance, setDefaultFactory
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

OsgiLoggerFactory

public OsgiLoggerFactory(org.osgi.framework.BundleContext ctx)

OsgiLoggerFactory

public OsgiLoggerFactory(org.osgi.framework.BundleContext ctx,
                         InternalLoggerFactory fallback)
方法详细信息

getFallback

public InternalLoggerFactory getFallback()

getLogService

public org.osgi.service.log.LogService getLogService()

destroy

public void destroy()

newInstance

public InternalLogger newInstance(java.lang.String name)
从类 InternalLoggerFactory 复制的描述
使用指定的名称创建一个logger实例.

指定者:
InternalLoggerFactory 中的 newInstance