org.apache.logging.log4j.core.appender
Interface ManagerFactory<M,T>

Type Parameters:
M - The Manager type.
T - The Factory data type.
All Known Implementing Classes:
TcpSocketManager.TcpSocketManagerFactory

public interface ManagerFactory<M,T>

Creates Manager objects.


Method Summary
 M createManager(String name, T data)
          Creates a Manager.
 

Method Detail

createManager

M createManager(String name,
                T data)
Creates a Manager.

Parameters:
name - The name of the entity to manage.
data - The data required to create the entity.
Returns:
A Manager for the entity.


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.