com.caucho.server.e_app
Class ApplicationConfig

java.lang.Object
  extended by com.caucho.server.e_app.ApplicationConfig

public class ApplicationConfig
extends java.lang.Object

Configuration for the application.xml file.


Nested Class Summary
 class ApplicationConfig.Module
           
 
Constructor Summary
ApplicationConfig()
          Sets the root directory.
 
Method Summary
 void addSecurityRole(SecurityRole role)
          Adds a security role.
 ApplicationConfig.Module createModule()
          Adds a module.
 void setDescription(java.lang.String description)
          Sets the description.
 void setDisplayName(java.lang.String name)
          Sets the display name.
 void setIcon(Icon icon)
          Sets the icon.
 void setId(java.lang.String id)
          Sets the id
 void setSchemaLocation(java.lang.String schema)
          Sets the schema location
 void setVersion(java.lang.String version)
          Sets the application version.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationConfig

public ApplicationConfig()
Sets the root directory.

Method Detail

setId

public void setId(java.lang.String id)
Sets the id


setVersion

public void setVersion(java.lang.String version)
Sets the application version.


setSchemaLocation

public void setSchemaLocation(java.lang.String schema)
Sets the schema location


setDisplayName

public void setDisplayName(java.lang.String name)
Sets the display name.


setDescription

public void setDescription(java.lang.String description)
Sets the description.


setIcon

public void setIcon(Icon icon)
Sets the icon.


createModule

public ApplicationConfig.Module createModule()
Adds a module.


addSecurityRole

public void addSecurityRole(SecurityRole role)
Adds a security role.