@ThreadSafe public static final class VOWicket.ConstructionContext extends Object
After the interface is running, it itself is passed to s, via s::initializingVOWicket(wic).
| Modifier and Type | Method and Description |
|---|---|
Class<? extends Authenticator> |
getAuthenticatorClass()
The class of user authenticator for the web interface.
|
URI |
getDefaultPageIcon()
The location of default page icon, or null if the location is the default.
|
String |
getHTMLHeaderInsert()
The site-specific, customized insert for the 'head' section.
|
URI |
getMirroredContextURI()
The absolute URI of the static mirror of the context directory, or null if the
context directory is not statically served.
|
String |
getName()
The name that nominally identifies the web interface and is used to construct
its service email address.
|
SMTPTransportX.ConstructionContext |
mailTransferService()
The context for configuring access to the mail transfer server,
through which outgoing messages (for email address authentication) are sent.
|
void |
setAuthenticatorClass(Class<? extends Authenticator> cl)
Sets the class of user authenticator for the web interface.
|
void |
setDefaultPageIcon(String s)
Sets the location of default page icon.
|
void |
setDefaultPageIcon(URI uri)
Sets the location of default page icon.
|
void |
setHTMLHeaderInsert(String _htmlHeaderInsert)
Sets the site-specific, customized insert for the 'head' section.
|
void |
setMirroredContextLocation(String s)
Sets absolute URI of the static mirror of the context directory.
|
void |
setMirroredContextURI(URI uri)
Sets absolute URI of the static mirror of the context directory.
|
void |
setName(String _name)
Sets the name that nominally identifies the web interface, and is used to
construct its service email address.
|
public Class<? extends Authenticator> getAuthenticatorClass()
@ThreadRestricted(value="constructor") public void setAuthenticatorClass(Class<? extends Authenticator> cl)
wicCC.setAuthenticatorClass(
Packages.votorola.a.web.wic.authen.WikiAuthenticator );
The default class is OpenIDAuthenticator.
VOWicket.authenticator()public URI getDefaultPageIcon()
@ThreadRestricted(value="constructor") public void setDefaultPageIcon(String s) throws URISyntaxException
URISyntaxExceptionVOWicket.defaultPageIcon()@ThreadRestricted(value="constructor") public void setDefaultPageIcon(URI uri)
VOWicket.defaultPageIcon()public String getHTMLHeaderInsert()
@ThreadRestricted(value="constructor") public void setHTMLHeaderInsert(String _htmlHeaderInsert)
VOWicket.htmlHeaderInsert()public URI getMirroredContextURI()
@ThreadRestricted(value="constructor") public void setMirroredContextLocation(String s) throws URISyntaxException
IllegalArgumentException - if the URI ends with a slash '/' character.URISyntaxExceptionVOWicket.mirroredContextURI()@ThreadRestricted(value="constructor") public void setMirroredContextURI(URI uri)
IllegalArgumentException - if the URI ends with a slash '/' character.VOWicket.mirroredContextURI()public String getName()
@ThreadRestricted(value="constructor") public void setName(String _name)
VOWicket.name(),
VOWicket.serviceEmail()public SMTPTransportX.ConstructionContext mailTransferService()