Interface HiveFactory

  • All Known Implementing Classes:
    PolicyFileHiveFactory

    public interface HiveFactory
    HiveFactory creates Hives to be registered by the HiveMind. For instance there could be Hives that read the system policy from a file, while others read it from a database.
    Author:
    marrink
    • Method Detail

      • createHive

        Hive createHive()
        Creates a new Hive according to the configuration (if any) of this factory. The factory is free to return null or throw an exception if an unrecoverable problem arises.
        Returns:
        the new Hive.