Interface HiveFactory
-
- All Known Implementing Classes:
PolicyFileHiveFactory
public interface HiveFactoryHiveFactory createsHives to be registered by theHiveMind. For instance there could be Hives that read the system policy from a file, while others read it from a database.- Author:
- marrink
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HivecreateHive()Creates a new Hive according to the configuration (if any) of this factory.
-
-
-
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.
-
-