|
||||||||||
| 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 | |
|---|---|
Collection<org.xbill.DNS.Zone> |
getPrimaryZones()
This method is called each time EagleDNS reloads it's zones. |
Collection<SecondaryZone> |
getSecondaryZones()
This method is called each time EagleDNS reloads it's zones. |
void |
init(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(String driver)
|
void |
setPassword(String password)
|
void |
setUrl(String url)
|
void |
setUsername(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(String name)
throws ClassNotFoundException
ZoneProvider
init in interface ZoneProviderClassNotFoundExceptionpublic Collection<org.xbill.DNS.Zone> getPrimaryZones()
ZoneProvider
getPrimaryZones in interface ZoneProviderpublic Collection<SecondaryZone> getSecondaryZones()
ZoneProvider
getSecondaryZones in interface ZoneProviderpublic void zoneUpdated(SecondaryZone zone)
ZoneProvider
zoneUpdated in interface ZoneProviderpublic void zoneChecked(SecondaryZone zone)
ZoneProvider
zoneChecked in interface ZoneProviderpublic void unload()
ZoneProvider
unload in interface ZoneProviderpublic void setDriver(String driver)
public void setUsername(String username)
public void setPassword(String password)
public void setUrl(String url)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||