org.apache.log4j.helpers.NullEnumeration Java Examples

The following examples show how to use org.apache.log4j.helpers.NullEnumeration. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: Category.java    From cacheonix-core with GNU Lesser General Public License v2.1 5 votes vote down vote up
/**
   Get the appenders contained in this category as an {@link
   Enumeration}. If no appenders can be found, then a {@link NullEnumeration}
   is returned.

   @return Enumeration An enumeration of the appenders in this category.  */
synchronized
public
Enumeration getAllAppenders() {
  if(aai == null)
    return NullEnumeration.getInstance();
  else
    return aai.getAllAppenders();
}
 
Example #2
Source File: LogManager.java    From logging-log4j2 with Apache License 2.0 4 votes vote down vote up
@SuppressWarnings("rawtypes")
public static Enumeration getCurrentLoggers() {
    return NullEnumeration.getInstance();
}
 
Example #3
Source File: LogManager.java    From logging-log4j2 with Apache License 2.0 4 votes vote down vote up
@Override
@SuppressWarnings("rawtypes")
public Enumeration getCurrentLoggers() {
    return NullEnumeration.getInstance();
}
 
Example #4
Source File: LogManager.java    From logging-log4j2 with Apache License 2.0 4 votes vote down vote up
@Override
@SuppressWarnings("rawtypes")
public Enumeration getCurrentCategories() {
    return NullEnumeration.getInstance();
}
 
Example #5
Source File: Category.java    From logging-log4j2 with Apache License 2.0 4 votes vote down vote up
@SuppressWarnings("rawtypes")
public Enumeration getAllAppenders() {
    return NullEnumeration.getInstance();
}
 
Example #6
Source File: LogManager.java    From logging-log4j2 with Apache License 2.0 4 votes vote down vote up
@SuppressWarnings("rawtypes")
public static Enumeration getCurrentLoggers() {
    return NullEnumeration.getInstance();
}
 
Example #7
Source File: LogManager.java    From logging-log4j2 with Apache License 2.0 4 votes vote down vote up
@Override
@SuppressWarnings("rawtypes")
public Enumeration getCurrentLoggers() {
    return NullEnumeration.getInstance();
}
 
Example #8
Source File: LogManager.java    From logging-log4j2 with Apache License 2.0 4 votes vote down vote up
@Override
@SuppressWarnings("rawtypes")
public Enumeration getCurrentCategories() {
    return NullEnumeration.getInstance();
}
 
Example #9
Source File: Category.java    From logging-log4j2 with Apache License 2.0 4 votes vote down vote up
@SuppressWarnings("rawtypes")
public Enumeration getAllAppenders() {
    return NullEnumeration.getInstance();
}