BEA Systems, Inc.

WebLogic Server 8.1 API Reference

weblogic.management.configuration
Interface WebDeploymentMBean

All Known Subinterfaces:
WebAppComponentMBean, WebServiceComponentMBean

public interface WebDeploymentMBean
extends DeploymentMBean

A Web Deployment is any MBean that may be deployed on one or more target or WebServers. Deployments of this type get deployed on web servers. Any target specified through the "Targets" attribute of the deployment are deployed on the default web server of that deployment. Targets specified through the "WebServers" attribute of the deployment are specified in the specified Web Server.

Author:
Copyright © 2002 BEA Systems, Inc. All Rights Reserved.

Field Summary
static long CACHING_STUB_SVUID
          Description of the Field
 
Fields inherited from class weblogic.management.configuration.DeploymentMBean
CACHING_STUB_SVUID, DEFAULT_ORDER, MAX_ORDER, MIN_ORDER
 
Fields inherited from class weblogic.management.configuration.ConfigurationMBean
CACHING_STUB_SVUID
 
Method Summary
 boolean addVirtualHost(VirtualHostMBean target)
          Add a virtual host
 boolean addWebServer(WebServerMBean target)
          Deprecated. in 7.0.0.0. This attribute is being replaced by VirtualHosts attribute
 VirtualHostMBean[] getVirtualHosts()
          Returns virtual hosts on which this deployment is targeted.
 WebServerMBean[] getWebServers()
          Deprecated. in 7.0.0.0. This attribute is being replaced by VirtualHosts attribute. To target an actual web server, the ComponentMBean.Targets attribute should be used.
 boolean removeVirtualHost(VirtualHostMBean target)
          Remove a virtual host
 boolean removeWebServer(WebServerMBean target)
          Deprecated. in 7.0.0.0. This attribute is being replaced by VirtualHosts attribute
 void setVirtualHosts(VirtualHostMBean[] WebServers)
          Establish list of virtual hosts for this deployment
 void setWebServers(WebServerMBean[] WebServers)
          Deprecated. in 7.0.0.0. This attribute is being replaced by VirtualHosts attribute
 
Methods inherited from interface weblogic.management.configuration.DeploymentMBean
addTarget, getDeploymentOrder, getTargets, removeTarget, setDeploymentOrder, setTargets
 
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
freezeCurrentValue, getNotes, restoreDefaultValue, setComments, setDefaultedMBean, setNotes, setPersistenceEnabled
 
Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent
 
Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, invoke, setAttribute, setAttributes
 
Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preRegister
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 

Field Detail

CACHING_STUB_SVUID

public static final long CACHING_STUB_SVUID
Description of the Field
Method Detail

getWebServers

public WebServerMBean[] getWebServers()
Deprecated. in 7.0.0.0. This attribute is being replaced by VirtualHosts attribute. To target an actual web server, the ComponentMBean.Targets attribute should be used.
Returns targets on which this deployment is deployed.

A non-configurable MBean attribute.
Returns:
The webServers value

setWebServers

public void setWebServers(WebServerMBean[] WebServers)
                   throws javax.management.InvalidAttributeValueException,
                          DistributedManagementException
Deprecated. in 7.0.0.0. This attribute is being replaced by VirtualHosts attribute
Set the targets for this deployment

A dynamic MBean attribute
Parameters:
WebServers - The new webServers value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception
DistributedManagementException - Description of the Exception

addWebServer

public boolean addWebServer(WebServerMBean target)
                     throws javax.management.InvalidAttributeValueException,
                            DistributedManagementException
Deprecated. in 7.0.0.0. This attribute is being replaced by VirtualHosts attribute
Add a target

A dynamic MBean attribute
Parameters:
target - The feature to be added to the WebServer attribute
Returns:
Description of the Return Value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception
DistributedManagementException - Description of the Exception

removeWebServer

public boolean removeWebServer(WebServerMBean target)
                        throws DistributedManagementException
Deprecated. in 7.0.0.0. This attribute is being replaced by VirtualHosts attribute
Remove a target.

A dynamic MBean attribute
Parameters:
target - Description of the Parameter
Returns:
Description of the Return Value
Throws:
DistributedManagementException - Description of the Exception

getVirtualHosts

public VirtualHostMBean[] getVirtualHosts()
Returns virtual hosts on which this deployment is targeted.

Returns:
The virtualHosts value

setVirtualHosts

public void setVirtualHosts(VirtualHostMBean[] WebServers)
                     throws javax.management.InvalidAttributeValueException,
                            DistributedManagementException
Establish list of virtual hosts for this deployment

A dynamic MBean attribute
Parameters:
WebServers - The new virtualHosts value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception
DistributedManagementException - Description of the Exception

addVirtualHost

public boolean addVirtualHost(VirtualHostMBean target)
                       throws javax.management.InvalidAttributeValueException,
                              DistributedManagementException
Add a virtual host

A dynamic MBean attribute
Parameters:
target - The feature to be added to the VirtualHost attribute
Returns:
Description of the Return Value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception
DistributedManagementException - Description of the Exception

removeVirtualHost

public boolean removeVirtualHost(VirtualHostMBean target)
                          throws DistributedManagementException
Remove a virtual host

A dynamic MBean attribute
Parameters:
target - Description of the Parameter
Returns:
Description of the Return Value
Throws:
DistributedManagementException - Description of the Exception

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs81b