|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ZoneProvider
This interface is used to dynamicly load zones from different type of zone providers in runtime enabling zones to be added, updated and removed in runtime without restarting the EagleDNS dns server itself.
Method Summary | |
---|---|
java.util.Collection<org.xbill.DNS.Zone> |
getPrimaryZones()
This method is called each time EagleDNS reloads it's zones. |
java.util.Collection<SecondaryZone> |
getSecondaryZones()
This method is called each time EagleDNS reloads it's zones. |
void |
init(java.lang.String name)
This method is called after the ZoneProvider has been instantiated by EagleDNS and all properties specified in the config file for this zone provider have been set using their set methods. |
void |
unload()
This method is called when EagleDNS is shutdown or when the configuration has been updated and the ZoneProvider is no longer present in the configuration file. |
void |
zoneChecked(SecondaryZone secondaryZone)
This method is called each time a zone has been downloaded and no changes have been detected (by comparing the serial) |
void |
zoneUpdated(SecondaryZone secondaryZone)
This method is called when a change has been detected in a secondary zone previously loaded from this ZoneProvider. |
Method Detail |
---|
void init(java.lang.String name) throws java.lang.Exception
java.lang.Exception
java.util.Collection<org.xbill.DNS.Zone> getPrimaryZones()
java.util.Collection<SecondaryZone> getSecondaryZones()
void zoneUpdated(SecondaryZone secondaryZone)
zone
- void zoneChecked(SecondaryZone secondaryZone)
secondaryZone
- void unload()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |