Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.management.configuration
Interface VirtualHostMBean

All Superinterfaces:
ConfigurationMBean, DeploymentMBean, DescriptorBean, DynamicMBean, MBeanRegistration, NotificationBroadcaster, SettableBean, TargetMBean, WebLogicMBean, WebServerMBean

public interface VirtualHostMBean
extends WebServerMBean, TargetMBean

This bean represents the configuration of virtual web server within a WebLogic Server instance. Note that a server may define multiple web servers to support virtual hosts.

This MBean represents a virtual host.


Field Summary

 

Fields inherited from interface weblogic.management.configuration.DeploymentMBean
DEFAULT_ORDER, MAX_ORDER, MIN_ORDER

 

Fields inherited from interface weblogic.management.configuration.ConfigurationMBean
DEFAULT_EMPTY_BYTE_ARRAY

 

Method Summary
abstract  String getNetworkAccessPoint()
          The dedicated server channel name (NetworkAccessPoint) for which this virtual host will serve http request.
abstract  String[] getVirtualHostNames()
          The list of host names, separated by line breaks, for which this virtual host will serve requests.
abstract  void setNetworkAccessPoint(String networkAccessPoint)
          Sets a NetworkAccessPoint name dedicated for this virtual host.
abstract  void setVirtualHostNames(String[] names)
          Sets the value of the VirtualHostNames attribute.

 

Methods inherited from interface weblogic.management.configuration.WebServerMBean
getCharsets, getClientIpHeader, getDefaultWebApp, getDefaultWebAppContextRoot, getFrontendHost, getFrontendHTTPPort, getFrontendHTTPSPort, getHttpsKeepAliveSecs, getKeepAliveSecs, getLogFileBufferKBytes, getLogFileCount, getLogFileFlushSecs, getLogFileFormat, getLogFileName, getLogRotationPeriodMins, getLogRotationTimeBegin, getLogRotationType, getLogTimeInGMT, getMaxLogFileSizeKBytes, getMaxPostSize, getMaxPostTimeSecs, getMaxRequestParameterCount, getOverloadResponseCode, getPostTimeoutSecs, getURLResource, getWebServerLog, getWriteChunkBytes, isAcceptContextPathInGetRealPath, isAuthCookieEnabled, isChunkedTransferDisabled, isDebugEnabled, isKeepAliveEnabled, isLogFileLimitEnabled, isLoggingEnabled, isMaxPostSizeSet, isMaxPostTimeSecsSet, isMaxRequestParameterCountSet, isPostTimeoutSecsSet, isSendServerHeaderEnabled, isSingleSignonDisabled, isUseHeaderEncoding, isUseHighestCompatibleHTTPVersion, isWAPEnabled, setAcceptContextPathInGetRealPath, setAuthCookieEnabled, setCharsets, setChunkedTransferDisabled, setClientIpHeader, setDefaultWebApp, setDefaultWebAppContextRoot, setFrontendHost, setFrontendHTTPPort, setFrontendHTTPSPort, setHttpsKeepAliveSecs, setKeepAliveEnabled, setKeepAliveSecs, setLogFileBufferKBytes, setLogFileCount, setLogFileFlushSecs, setLogFileFormat, setLogFileLimitEnabled, setLogFileName, setLoggingEnabled, setLogRotationPeriodMins, setLogRotationTimeBegin, setLogRotationType, setLogTimeInGMT, setMaxLogFileSizeKBytes, setMaxPostSize, setMaxPostTimeSecs, setMaxRequestParameterCount, setOverloadResponseCode, setPostTimeoutSecs, setSendServerHeaderEnabled, setSingleSignonDisabled, setURLResource, setUseHeaderEncoding, setUseHighestCompatibleHTTPVersion, setWAPEnabled

 

Methods inherited from interface weblogic.management.configuration.DeploymentMBean
addTarget, getDeploymentOrder, getTargets, removeTarget, setDeploymentOrder, setTargets

 

Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
freezeCurrentValue, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet

 

Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent

 

Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, invoke, setAttribute, setAttributes

 

Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preDeregister, preRegister

 

Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener

 

Methods inherited from interface weblogic.descriptor.DescriptorBean
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener

 

Method Detail

getVirtualHostNames

String[] getVirtualHostNames()

The list of host names, separated by line breaks, for which this virtual host will serve requests.

Returns:
The virtualHostNames value

setVirtualHostNames

void setVirtualHostNames(String[] names)
                         throws InvalidAttributeValueException

Sets the value of the VirtualHostNames attribute.

Parameters:
names - The new virtualHostNames value
Throws:
InvalidAttributeValueException
See Also:
VirtualHostMBean.getVirtualHostNames()

getNetworkAccessPoint

String getNetworkAccessPoint()

The dedicated server channel name (NetworkAccessPoint) for which this virtual host will serve http request. If the NetworkAccessPoint for a given http request doesn't match any virtual host's NetworkAccessPoint, incoming HOST header will be matched with the VirtualHostNames in order to resolve the right virtual host.

Returns:
NetworkAccessPoint dedicated for this virtual host

setNetworkAccessPoint

void setNetworkAccessPoint(String networkAccessPoint)

Sets a NetworkAccessPoint name dedicated for this virtual host.

Parameters:
networkAccessPoint -
See Also:
VirtualHostMBean.getNetworkAccessPoint()

Skip navigation links

Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09