public interface VirtualServer
extends org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.config.types.PropertyBag
| Modifier and Type | Interface and Description |
|---|---|
static class |
VirtualServer.Duck |
| Modifier and Type | Method and Description |
|---|---|
void |
addNetworkListener(String name) |
org.glassfish.grizzly.config.dom.NetworkListener |
findNetworkListener(String name) |
List<org.glassfish.grizzly.config.dom.NetworkListener> |
findNetworkListeners() |
String |
getAccessLog()
Gets the value of the accesslog property.
|
String |
getAccessLoggingEnabled()
Gets the value of the enabled property.
|
String |
getDefaultWebModule()
Gets the value of the defaultWebModule property.
|
String |
getDocroot()
Gets the value of the docroot property.
|
String |
getHosts()
Gets the value of the hosts property.
|
HttpAccessLog |
getHttpAccessLog()
Gets the value of the httpAccessLog property.
|
String |
getHttpListeners()
Deprecated.
|
String |
getId()
Gets the value of the id property.
|
String |
getLogFile()
Gets the value of the logFile property.
|
String |
getNetworkListeners()
Gets the value of the httpListeners property.
|
List<org.jvnet.hk2.config.types.Property> |
getProperty()
Properties.
|
String |
getSsoCookieHttpOnly() |
String |
getSsoCookieSecure()
Gets the Secure attribute of any JSESSIONIDSSO cookies associated with the web applications deployed to this
virtual server.
|
String |
getSsoEnabled()
Gets the value of the sso-enabled property.
|
String |
getState()
Gets the value of the state property.
|
void |
removeNetworkListener(String name) |
void |
setAccessLog(String value)
Sets the value of the accesslog property.
|
void |
setAccessLoggingEnabled(String value)
Sets the value of the access logging enabled property.
|
void |
setDefaultWebModule(String value)
Sets the value of the defaultWebModule property.
|
void |
setDocroot(String value)
Sets the value of the docroot property.
|
void |
setHosts(String value)
Sets the value of the hosts property.
|
void |
setHttpAccessLog(HttpAccessLog value)
Sets the value of the httpAccessLog property.
|
void |
setHttpListeners(String value)
Deprecated.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setLogFile(String value)
Sets the value of the logFile property.
|
void |
setNetworkListeners(String value)
Sets the value of the httpListeners property.
|
void |
setSsoCookieHttpOnly(String value) |
void |
setSsoCookieSecure(String value) |
void |
setSsoEnabled(String value)
Sets the value of the sso-enabled property.
|
void |
setState(String value)
Sets the value of the state property.
|
@NotNull String getId()
Stringvoid setId(String value) throws PropertyVetoException
value - allowed object is StringPropertyVetoException@Deprecated String getHttpListeners()
String@Deprecated void setHttpListeners(String value) throws PropertyVetoException
value - allowed object is StringPropertyVetoExceptionString getNetworkListeners()
Stringvoid setNetworkListeners(String value) throws PropertyVetoException
value - allowed object is StringPropertyVetoExceptionString getDefaultWebModule()
Stringvoid setDefaultWebModule(String value) throws PropertyVetoException
value - allowed object is StringPropertyVetoException@NotNull String getHosts()
Stringvoid setHosts(String value) throws PropertyVetoException
value - allowed object is StringPropertyVetoException@Pattern(regexp="(on|off|disabled)") String getState()
Stringvoid setState(String value) throws PropertyVetoException
value - allowed object is StringPropertyVetoExceptionString getDocroot()
Stringvoid setDocroot(String value) throws PropertyVetoException
value - allowed object is StringPropertyVetoExceptionString getAccessLog()
Stringvoid setAccessLog(String value) throws PropertyVetoException
value - allowed object is StringPropertyVetoException@Pattern(regexp="(true|on|false|off|inherit)") String getSsoEnabled()
Stringvoid setSsoEnabled(String value) throws PropertyVetoException
value - allowed object is StringPropertyVetoException@Pattern(regexp="(true|on|false|off|inherit)") String getAccessLoggingEnabled()
Stringvoid setAccessLoggingEnabled(String value) throws PropertyVetoException
value - allowed object is StringPropertyVetoExceptionString getLogFile()
Stringvoid setLogFile(String value) throws PropertyVetoException
value - allowed object is StringPropertyVetoExceptionHttpAccessLog getHttpAccessLog()
HttpAccessLogvoid setHttpAccessLog(HttpAccessLog value) throws PropertyVetoException
value - allowed object is HttpAccessLogPropertyVetoException@Pattern(regexp="(true|false|dynamic)") String getSsoCookieSecure()
void setSsoCookieSecure(String value)
String getSsoCookieHttpOnly()
void setSsoCookieHttpOnly(String value)
@DuckTyped void addNetworkListener(String name) throws PropertyVetoException
PropertyVetoException@DuckTyped void removeNetworkListener(String name) throws PropertyVetoException
PropertyVetoException@DuckTyped org.glassfish.grizzly.config.dom.NetworkListener findNetworkListener(String name)
@DuckTyped List<org.glassfish.grizzly.config.dom.NetworkListener> findNetworkListeners()
@PropertiesDesc(props={@PropertyDesc(name="sso-max-inactive-seconds",defaultValue="300",dataType=PositiveInteger.class,description="The time after which a user\'s single sign-on record becomes eligible for purging if no client activity is received. Since single sign-on applies across several applications on the same virtual server, access to any of the applications keeps the single sign-on record active. Higher values provide longer single sign-on persistence for the users at the expense of more memory use on the server"),@PropertyDesc(name="sso-reap-interval-seconds",defaultValue="60",dataType=PositiveInteger.class,description="Interval between purges of expired single sign-on records"),@PropertyDesc(name="setCacheControl",description="Comma-separated list of Cache-Control response directives. For a list of valid directives, see section 14.9 of the document at http://www.ietf.org/rfc/rfc2616.txt"),@PropertyDesc(name="accessLoggingEnabled",defaultValue="false",dataType=java.lang.Boolean.class,description="Enables access logging for this virtual server only"),@PropertyDesc(name="accessLogBufferSize",defaultValue="32768",dataType=PositiveInteger.class,description="Size in bytes of the buffer where access log calls are stored. If the value is less than 5120, a warning message is issued, and the value is set to 5120. To set this property for all virtual servers, set it as a property of the parent http-service"),@PropertyDesc(name="accessLogWriteInterval",defaultValue="300",dataType=PositiveInteger.class,description="Number of seconds before the log is written to the disk. The access log is written when the buffer is full or when the interval expires. If the value is 0, the buffer is always written even if it is not full. This means that each time the server is accessed, the log message is stored directly to the file. To set this property for all virtual servers, set it as a property of the parent http-service"),@PropertyDesc(name="allowRemoteAddress",description="Comma-separated list of regular expression patterns that the remote client\'s IP address is compared to. If this property is specified, the remote address must match for this request to be accepted. If this property is not specified, all requests are accepted unless the remote address matches a \'denyRemoteAddress\' pattern"),@PropertyDesc(name="denyRemoteAddress",description="Comma-separated list of regular expression patterns that the remote client\'s IP address is compared to. If this property is specified, the remote address must not match for this request to be accepted. If this property is not specified, request acceptance is governed solely by the \'allowRemoteAddress\' property"),@PropertyDesc(name="allowRemoteHost",description="Comma-separated list of regular expression patterns that the remote client\'s hostname (as returned by java.net.Socket.getInetAddress().getHostName()) is compared to. If this property is specified, the remote hostname must match for the request to be accepted. If this property is not specified, all requests are accepted unless the remote hostname matches a \'denyRemoteHost\' pattern"),@PropertyDesc(name="denyRemoteHost",description="Specifies a comma-separated list of regular expression patterns that the remote client\'s hostname (as returned by java.net.Socket.getInetAddress().getHostName()) is compared to. If this property is specified, the remote hostname must not match for this request to be accepted. If this property is not specified, request acceptance is governed solely by the \'allowRemoteHost\' property"),@PropertyDesc(name="authRealm",description="Specifies the name attribute of an \u201cauth-realm\ufffd? on page 23 element, which overrides the server instance\'s default realm for stand-alone web applications deployed to this virtual server. A realm defined in a stand-alone web application\'s web.xml file overrides the virtual server\'s realm"),@PropertyDesc(name="securePagesWithPragma",defaultValue="true",dataType=java.lang.Boolean.class,description="Set this property to false to ensure that for all web applications on this virtual server file downloads using SSL work properly in Internet Explorer. You can set this property for a specific web application."),@PropertyDesc(name="contextXmlDefault",description="The location, relative to domain-dir, of the context.xml file for this virtual server, if one is used"),@PropertyDesc(name="allowLinking",defaultValue="false",dataType=java.lang.Boolean.class,description="If true, resources that are symbolic links in web applications on this virtual server are served. The value of this property in the sun-web.xml file takes precedence if defined. Caution: setting this property to true on Windows systems exposes JSP source code."),@PropertyDesc(name="alternatedocroot_*",description="The \'*\' denotes a positive integer. Example: "),@PropertyDesc(name="send-error_*",description="The \'*\' denotes a positive integer. Example: "),@PropertyDesc(name="redirect_*",description="The \'*\' denotes a positive integer. Example: ")})
List<org.jvnet.hk2.config.types.Property> getProperty()
getProperty in interface org.jvnet.hk2.config.types.PropertyBagCopyright © 2013. All Rights Reserved.