org.apache.logging.log4j.core.config
Class DefaultAdvertiser

java.lang.Object
  extended by org.apache.logging.log4j.core.config.DefaultAdvertiser
All Implemented Interfaces:
Advertiser

@Plugin(name="default",
        category="Core",
        elementType="advertiser",
        printObject=false)
public class DefaultAdvertiser
extends Object
implements Advertiser

The default advertiser does not do anything.


Constructor Summary
DefaultAdvertiser()
           
 
Method Summary
 Object advertise(Map<String,String> properties)
          Does nothing.
 void unadvertise(Object advertisedObject)
          Does nothing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultAdvertiser

public DefaultAdvertiser()
Method Detail

advertise

public Object advertise(Map<String,String> properties)
Does nothing.

Specified by:
advertise in interface Advertiser
Returns:
null

unadvertise

public void unadvertise(Object advertisedObject)
Does nothing

Specified by:
unadvertise in interface Advertiser
Parameters:
advertisedObject -


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.