votorola.a.web
Class VApplication.ConfigurationContext

java.lang.Object
  extended by VApplication.ConfigurationContext
Enclosing class:
VApplication

@ThreadSafe
public static final class VApplication.ConfigurationContext
extends Object

A context for configuring the Web interface. The Web interface is configured by its configuration file, which contains a script (s) for that purpose. During construction of the Web interface, an instance of this context is passed to s, via s::configureWeb(webCC).

After the interface is running, it itself is passed to s, via s::initWeb(web).


Method Summary
 String getName()
           
 String getStyleSheet()
           
 SMTPTransportX.ConfigurationContext mailTransferService()
          The context for configuring access to the mail transfer server, through which outgoing messages (for email address authentication) are sent.
 void setName(String name)
          Sets the name that nominally identifies the Web interface, and is used to construct its service email address.
 void setStyleSheet(String styleSheet)
          Sets the URL of the subserver's custom style sheet.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getName

public String getName()
See Also:
setName(String)

setName

@ThreadRestricted(value="constructor")
public void setName(String name)
Sets the name that nominally identifies the Web interface, and is used to construct its service email address. The default value is the subserver name.

See Also:
VApplication.name(), VApplication.serviceEmail(), getName()

getStyleSheet

public String getStyleSheet()
See Also:
setStyleSheet(String)

setStyleSheet

@ThreadRestricted(value="constructor")
public void setStyleSheet(String styleSheet)
Sets the URL of the subserver's custom style sheet. The default value is null.

See Also:
VApplication.styleSheet(), getStyleSheet()

mailTransferService

public SMTPTransportX.ConfigurationContext mailTransferService()
The context for configuring access to the mail transfer server, through which outgoing messages (for email address authentication) are sent.