BEA Systems, Inc.

Type-Safe Access to BEA WebLogic Server 9.0 MBeans (Deprecated)

(Methods marked with @since 9.0.0.0 are not available through the deprecated MBeanHome interface.)


weblogic.management.configuration
Interface VirtualHostMBean

All Superinterfaces:
ConfigurationMBean, DeploymentMBean, weblogic.descriptor.DescriptorBean, DynamicMBean, MBeanRegistration, NotificationBroadcaster, weblogic.descriptor.SettableBean, TargetMBean, weblogic.management.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.

Deprecation of MBeanHome and Type-Safe Interfaces

This is a type-safe interface for a WebLogic Server MBean, which you can import into your client classes and access through weblogic.management.MBeanHome. As of 9.0, the MBeanHome interface and all type-safe interfaces for WebLogic Server MBeans are deprecated. Instead, client classes that interact with WebLogic Server MBeans should use standard JMX design patterns in which clients use the javax.management.MBeanServerConnection interface to discover MBeans, attributes, and attribute types at runtime. For more information, see "Developing Manageable Applications with JMX" on http://www.oracle.com/technology/documentation/index.html.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved.

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
 String getNetworkAccessPoint()
          The dedicated server channel name (NetworkAccessPoint) for which this virtual host will serve http request.
 String[] getVirtualHostNames()
          The comma-separated list of host names for which this virtual host will serve requests.
 void setNetworkAccessPoint(String networkAccessPoint)
          Sets a NetworkAccessPoint name dedicated for this virtual host.
 void setVirtualHostNames(String[] names)
          Sets the value of the VirtualHostNames attribute.
 
Methods inherited from interface weblogic.management.configuration.WebServerMBean
getCharsets, getDefaultWebApp, getDefaultWebAppContextRoot, getFrontendHost, getFrontendHTTPPort, getFrontendHTTPSPort, getHttpsKeepAliveSecs, getKeepAliveSecs, getLogFileBufferKBytes, getLogFileCount, getLogFileFlushSecs, getLogFileFormat, getLogFileName, getLogRotationPeriodMins, getLogRotationTimeBegin, getLogRotationType, getLogTimeInGMT, getMaxLogFileSizeKBytes, getMaxPostSize, getMaxPostTimeSecs, getOverloadResponseCode, getPostTimeoutSecs, getURLResource, getWebServerLog, getWriteChunkBytes, isAcceptContextPathInGetRealPath, isAuthCookieEnabled, isChunkedTransferDisabled, isDebugEnabled, isKeepAliveEnabled, isLogFileLimitEnabled, isLoggingEnabled, isSendServerHeaderEnabled, isSingleSignonDisabled, isUseHeaderEncoding, isUseHighestCompatibleHTTPVersion, isWAPEnabled, setAcceptContextPathInGetRealPath, setAuthCookieEnabled, setCharsets, setChunkedTransferDisabled, setDefaultWebApp, setDefaultWebAppContextRoot, setFrontendHost, setFrontendHTTPPort, setFrontendHTTPSPort, setHttpsKeepAliveSecs, setKeepAliveEnabled, setKeepAliveSecs, setLogFileBufferKBytes, setLogFileCount, setLogFileFlushSecs, setLogFileFormat, setLogFileLimitEnabled, setLogFileName, setLoggingEnabled, setLogRotationPeriodMins, setLogRotationTimeBegin, setLogRotationType, setLogTimeInGMT, setMaxLogFileSizeKBytes, setMaxPostSize, setMaxPostTimeSecs, 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, getName, getNotes, 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
addBeanUpdateListener, addPropertyChangeListener, createChildCopy, createChildCopyIncludingObsolete, getDescriptor, getParentBean, isEditable, removeBeanUpdateListener, removePropertyChangeListener
 

Method Detail

getNetworkAccessPoint

public 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

getVirtualHostNames

public String[] getVirtualHostNames()

The comma-separated list of host names for which this virtual host will serve requests.

Returns:
The virtualHostNames value
A configurable MBean attribute.

setNetworkAccessPoint

public void setNetworkAccessPoint(String networkAccessPoint)

Sets a NetworkAccessPoint name dedicated for this virtual host.

Parameters:
networkAccessPoint -
See Also:
getNetworkAccessPoint()

setVirtualHostNames

public void setVirtualHostNames(String[] names)
                         throws InvalidAttributeValueException

Sets the value of the VirtualHostNames attribute.

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

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs90
Copyright 2005 BEA Systems Inc.