orca.cod.plugins
Class NetworkConfigurationManager

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

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


Field Summary
protected  DnsConfiguration dns
           
protected  NetworkConfiguration net
           
static java.lang.String PropertyDns
           
static java.lang.String PropertyDnsClass
           
static java.lang.String PropertyNet
           
static java.lang.String PropertyNetClass
           
protected  Site site
           
 
Constructor Summary
NetworkConfigurationManager()
           
NetworkConfigurationManager(DnsConfiguration dns, NetworkConfiguration net)
           
 
Method Summary
 void configure(AuthorityCodSlice slice)
           
 NetworkConfiguration getNetworkConfiguration()
           
 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 setDnsConfiguration(DnsConfiguration dns)
           
 void setNetworkConfiguration(NetworkConfiguration net)
           
 void setSite(Site site)
           
 void unconfigure(AuthorityCodSlice slice)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PropertyDns

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

PropertyDnsClass

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

PropertyNet

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

PropertyNetClass

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

site

protected Site site

dns

protected DnsConfiguration dns

net

protected NetworkConfiguration net
Constructor Detail

NetworkConfigurationManager

public NetworkConfigurationManager()

NetworkConfigurationManager

public NetworkConfigurationManager(DnsConfiguration dns,
                                   NetworkConfiguration net)
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

setSite

public void setSite(Site site)

setDnsConfiguration

public void setDnsConfiguration(DnsConfiguration dns)

setNetworkConfiguration

public void setNetworkConfiguration(NetworkConfiguration net)

getNetworkConfiguration

public NetworkConfiguration getNetworkConfiguration()

configure

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

unconfigure

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

revisit

public void revisit(AuthorityCodSlice slice)
             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.