com.caucho.server.host
Class HostGenerator

java.lang.Object
  extended by com.caucho.server.host.HostGenerator
All Implemented Interfaces:
Dependency

public abstract class HostGenerator
extends java.lang.Object
implements Dependency

Returns a list of the current host entries


Constructor Summary
HostGenerator()
           
 
Method Summary
 void destroy()
          Closes the generator
 HostContainer getContainer()
          Returns the owning container.
abstract  java.util.ArrayList<HostController> getHosts()
          Returns the current array of host entries.
 boolean isModified()
          Returns true if the list of applications has changed.
 void setContainer(HostContainer container)
          Sets the owning container.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.caucho.vfs.Dependency
logModified
 

Constructor Detail

HostGenerator

public HostGenerator()
Method Detail

getContainer

public HostContainer getContainer()
Returns the owning container.


setContainer

public void setContainer(HostContainer container)
Sets the owning container.


getHosts

public abstract java.util.ArrayList<HostController> getHosts()
                                                      throws java.lang.Exception
Returns the current array of host entries.

Throws:
java.lang.Exception

isModified

public boolean isModified()
Returns true if the list of applications has changed.

Specified by:
isModified in interface Dependency

destroy

public void destroy()
Closes the generator