Interface ManagerFactory<M,T>

Type Parameters:
M - The Manager type.
T - The Factory data type.
All Known Subinterfaces:
MailManagerFactory
All Known Implementing Classes:
SmtpManager.SMTPManagerFactory, TcpSocketManager.TcpSocketManagerFactory

public interface ManagerFactory<M,T>
Creates Manager objects.
  • Method Summary

    Modifier and Type
    Method
    Description
    createManager(String name, T data)
    Creates a Manager.
  • Method Details

    • 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.