orca.cod.plugins
Class DnsConfiguration

java.lang.Object
  extended by orca.cod.plugins.DnsConfiguration
All Implemented Interfaces:
IInitialize, ISerialize

public class DnsConfiguration
extends java.lang.Object
implements IInitialize, ISerialize


Field Summary
protected  java.lang.String hostPrefix
           
protected  java.lang.String mx
           
static java.lang.String PropertyHostPrefix
           
static java.lang.String PropertyMX
           
static java.lang.String PropertyZone
           
protected  java.lang.String zone
           
 
Constructor Summary
DnsConfiguration()
           
 
Method Summary
 void configure(AuthorityCodSlice slice)
           
 void configure(java.util.Properties p)
           
 void configure(java.lang.String zone, java.lang.String mx, java.lang.String prefix)
           
 void initialize()
          Initializes the object.
 void reset(java.util.Properties p)
          De-serializes the object from the given properties list.
 void revisit(AuthorityCodSlice slice)
           
 void revisit(IActorIdentity actor, java.util.Properties p)
           
 java.util.Properties save()
          Serializes the object into a properties list.
 void save(java.util.Properties p)
          Serializes the object into the given properties list.
 void unconfigure(AuthorityCodSlice slice)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PropertyZone

public static final java.lang.String PropertyZone
See Also:
Constant Field Values

PropertyMX

public static final java.lang.String PropertyMX
See Also:
Constant Field Values

PropertyHostPrefix

public static final java.lang.String PropertyHostPrefix
See Also:
Constant Field Values

zone

protected java.lang.String zone

mx

protected java.lang.String mx

hostPrefix

protected java.lang.String hostPrefix
Constructor Detail

DnsConfiguration

public DnsConfiguration()
Method Detail

initialize

public void initialize()
                throws java.lang.Exception
Description copied from interface: IInitialize
Initializes the object.

Specified by:
initialize in interface IInitialize
Throws:
java.lang.Exception

configure

public void configure(AuthorityCodSlice slice)
               throws java.lang.Exception
Throws:
java.lang.Exception

unconfigure

public void unconfigure(AuthorityCodSlice slice)

revisit

public void revisit(AuthorityCodSlice slice)
             throws java.lang.Exception
Throws:
java.lang.Exception

configure

public void configure(java.lang.String zone,
                      java.lang.String mx,
                      java.lang.String prefix)

configure

public void configure(java.util.Properties p)
               throws java.lang.Exception
Throws:
java.lang.Exception

save

public java.util.Properties save()
                          throws java.lang.Exception
Description copied from interface: ISerialize
Serializes the object into a properties list.

Specified by:
save in interface ISerialize
Returns:
properties list representing this object
Throws:
java.lang.Exception

save

public void save(java.util.Properties p)
          throws java.lang.Exception
Description copied from interface: ISerialize
Serializes the object into the given properties list.

Specified by:
save in interface ISerialize
Parameters:
p - properties list to serialize the object into
Throws:
java.lang.Exception

reset

public void reset(java.util.Properties p)
           throws java.lang.Exception
Description copied from interface: ISerialize
De-serializes the object from the given properties list.

Specified by:
reset in interface ISerialize
Parameters:
p - properties list containing the serialized version of the object
Throws:
java.lang.Exception

revisit

public void revisit(IActorIdentity actor,
                    java.util.Properties p)
             throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2007 Network/Internet Computing Lab. All Rights Reserved.