站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.4 API 英文版文档

LoaderRepositorySelector - JBOSS Portal 2.4 API 英文版文档


org.jboss.portal.common.logging
Class LoaderRepositorySelector

java.lang.Object
  extended byorg.jboss.portal.common.logging.LoaderRepositorySelector
All Implemented Interfaces:
org.apache.log4j.spi.RepositorySelector

public class LoaderRepositorySelector
extends java.lang.Object
implements org.apache.log4j.spi.RepositorySelector


Method Summary
 org.apache.log4j.spi.LoggerRepository getLoggerRepository()
           
static void register(java.lang.ClassLoader classloader, Loader loader, java.lang.String pathToLog4jFile)
          Register with this repository selector.
static void unregister(java.lang.ClassLoader classloader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

register

public static void register(java.lang.ClassLoader classloader,
                            Loader loader,
                            java.lang.String pathToLog4jFile)
Register with this repository selector.


unregister

public static void unregister(java.lang.ClassLoader classloader)

getLoggerRepository

public org.apache.log4j.spi.LoggerRepository getLoggerRepository()
Specified by:
getLoggerRepository in interface org.apache.log4j.spi.RepositorySelector