|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.logging.log4j.core.config.plugins.util.PluginRegistry
public class PluginRegistry
Registry singleton for PluginType maps partitioned by source type and then by category names.
Nested Class Summary | |
---|---|
static class |
PluginRegistry.PluginTest
A Test that checks to see if each class is annotated with the 'Plugin' annotation. |
Method Summary | |
---|---|
void |
clear()
Resets the registry to an empty state. |
void |
clearBundlePlugins(long bundleId)
|
static PluginRegistry |
getInstance()
Returns the global PluginRegistry instance. |
Map<Long,Map<String,List<PluginType<?>>>> |
getPluginsByCategoryByBundleId()
|
Map<String,List<PluginType<?>>> |
loadFromBundle(long bundleId,
ClassLoader loader)
|
Map<String,List<PluginType<?>>> |
loadFromMainClassLoader()
|
Map<String,List<PluginType<?>>> |
loadFromPackage(String pkg)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static PluginRegistry getInstance()
public void clear()
public Map<Long,Map<String,List<PluginType<?>>>> getPluginsByCategoryByBundleId()
public Map<String,List<PluginType<?>>> loadFromMainClassLoader()
public void clearBundlePlugins(long bundleId)
public Map<String,List<PluginType<?>>> loadFromBundle(long bundleId, ClassLoader loader)
public Map<String,List<PluginType<?>>> loadFromPackage(String pkg)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1999-2014 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.