|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectse.unlogic.eagledns.zoneproviders.db.DBZoneProvider
public class DBZoneProvider
Constructor Summary | |
---|---|
DBZoneProvider()
|
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 |
setDriver(java.lang.String driver)
|
void |
setPassword(java.lang.String password)
|
void |
setUrl(java.lang.String url)
|
void |
setUsername(java.lang.String username)
|
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 zone)
This method is called each time a zone has been downloaded and no changes have been detected (by comparing the serial) |
void |
zoneUpdated(SecondaryZone zone)
This method is called when a change has been detected in a secondary zone previously loaded from this ZoneProvider. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DBZoneProvider()
Method Detail |
---|
public void init(java.lang.String name) throws java.lang.ClassNotFoundException
ZoneProvider
init
in interface ZoneProvider
java.lang.ClassNotFoundException
public java.util.Collection<org.xbill.DNS.Zone> getPrimaryZones()
ZoneProvider
getPrimaryZones
in interface ZoneProvider
public java.util.Collection<SecondaryZone> getSecondaryZones()
ZoneProvider
getSecondaryZones
in interface ZoneProvider
public void zoneUpdated(SecondaryZone zone)
ZoneProvider
zoneUpdated
in interface ZoneProvider
public void zoneChecked(SecondaryZone zone)
ZoneProvider
zoneChecked
in interface ZoneProvider
public void unload()
ZoneProvider
unload
in interface ZoneProvider
public void setDriver(java.lang.String driver)
public void setUsername(java.lang.String username)
public void setPassword(java.lang.String password)
public void setUrl(java.lang.String url)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |