Class TcpSocketManager.TcpSocketManagerFactory<M extends TcpSocketManager,​T extends org.apache.logging.log4j.core.net.TcpSocketManager.FactoryData>

  • Type Parameters:
    M - The manager type.
    T - The factory data type.
    All Implemented Interfaces:
    ManagerFactory<M,​T>
    Enclosing class:
    TcpSocketManager

    protected static class TcpSocketManager.TcpSocketManagerFactory<M extends TcpSocketManager,​T extends org.apache.logging.log4j.core.net.TcpSocketManager.FactoryData>
    extends Object
    implements ManagerFactory<M,​T>
    Factory to create a TcpSocketManager.
    • Constructor Detail

      • TcpSocketManagerFactory

        protected TcpSocketManagerFactory()
    • Method Detail

      • createManager

        public M createManager​(String name,
                               T data)
        Description copied from interface: ManagerFactory
        Creates a Manager.
        Specified by:
        createManager in interface ManagerFactory<M extends TcpSocketManager,​T extends org.apache.logging.log4j.core.net.TcpSocketManager.FactoryData>
        Parameters:
        name - The name of the entity to manage.
        data - The data required to create the entity.
        Returns:
        A Manager for the entity.