META-INF/log4j-provider.properties file. Note that this class is automatically created by Log4j and should
not be used by providers.
| Modifier and Type | Field and Description |
|---|---|
| private final WeakReference | |
| private final String | |
| private static final Integer | |
| public static final String | FACTORY_PRIORITY
Property name to set for a Log4j 2 provider to specify the priority of this implementation. |
| private static final Logger | |
| public static final String | LOGGER_CONTEXT_FACTORY
Property name to set to the implementation of |
| private final Class | |
| private final Integer | |
| public static final String | THREAD_CONTEXT_MAP
Property name to set to the implementation of |
| private final String | |
| private final Class | |
| private final URL | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | |
| public | Provider(final Integer priority, final String versions, final Class<? extends LoggerContextFactory> loggerContextFactoryClass)
|
| public | Provider(final Integer priority, final String versions, final Class<? extends LoggerContextFactory> loggerContextFactoryClass, final Class<? extends ThreadContextMap> threadContextMapClass)
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(final Object
the reference object with which to compare. o)Overrides java. Indicates whether some other object is "equal to" this one. |
| public String | Returns: the class name of a LoggerContextFactory implementationGets the class name of the |
| public Integer | Returns: the priority of this ProviderGets the priority (natural ordering) of this Provider. |
| public String | Returns: the class name of a ThreadContextMap implementationGets the class name of the |
| public URL | Returns: the URL corresponding to the ProviderMETA-INF/log4j-provider.properties fileGets the URL containing this Provider's Log4j details. |
| public String | Returns: A String containing the Log4j versions supported.Returns the Log4j API versions supported by the implementation. |
| public int | |
| public Class | Returns: the LoggerContextFactory implementation class ornull if there was an error loading itLoads the |
| public Class | Returns: the ThreadContextMap implementation class ornull if there was an error loading itLoads the |
| public String |
| classLoader | back to summary |
|---|---|
| private final WeakReference<ClassLoader> classLoader | |
| className | back to summary |
|---|---|
| private final String className | |
| DEFAULT_PRIORITY | back to summary |
|---|---|
| private static final Integer DEFAULT_PRIORITY | |
| FACTORY_PRIORITY | back to summary |
|---|---|
| public static final String FACTORY_PRIORITY Property name to set for a Log4j 2 provider to specify the priority of this implementation. | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| LOGGER_CONTEXT_FACTORY | back to summary |
|---|---|
| public static final String LOGGER_CONTEXT_FACTORY Property name to set to the implementation of | |
| loggerContextFactoryClass | back to summary |
|---|---|
| private final Class<? extends LoggerContextFactory> loggerContextFactoryClass | |
| priority | back to summary |
|---|---|
| private final Integer priority | |
| THREAD_CONTEXT_MAP | back to summary |
|---|---|
| public static final String THREAD_CONTEXT_MAP Property name to set to the implementation of | |
| threadContextMap | back to summary |
|---|---|
| private final String threadContextMap | |
| threadContextMapClass | back to summary |
|---|---|
| private final Class<? extends ThreadContextMap> threadContextMapClass | |
| url | back to summary |
|---|---|
| private final URL url | |
| versions | back to summary |
|---|---|
| private final String versions | |
| Provider | back to summary |
|---|---|
| public Provider(final Properties props, final URL url, final ClassLoader classLoader) | |
| Provider | back to summary |
|---|---|
| public Provider(final Integer priority, final String versions, final Class<? extends LoggerContextFactory> loggerContextFactoryClass) | |
| Provider | back to summary |
|---|---|
| public Provider(final Integer priority, final String versions, final Class<? extends LoggerContextFactory> loggerContextFactoryClass, final Class<? extends ThreadContextMap> threadContextMapClass) | |
| equals | back to summary |
|---|---|
| public boolean equals(final Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getClassName | back to summary |
|---|---|
| public String getClassName() Gets the class name of the
| |
| getPriority | back to summary |
|---|---|
| public Integer getPriority() Gets the priority (natural ordering) of this Provider.
| |
| getThreadContextMap | back to summary |
|---|---|
| public String getThreadContextMap() Gets the class name of the
| |
| getUrl | back to summary |
|---|---|
| public URL getUrl() Gets the URL containing this Provider's Log4j details.
| |
| getVersions | back to summary |
|---|---|
| public String getVersions() Returns the Log4j API versions supported by the implementation.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| loadLoggerContextFactory | back to summary |
|---|---|
| public Class Loads the
| |
| loadThreadContextMap | back to summary |
|---|---|
| public Class Loads the
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |