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 WebDeploymentMBean

All Superinterfaces:
ConfigurationMBean, DeploymentMBean, DescriptorBean, DynamicMBean, MBeanRegistration, NotificationBroadcaster, SettableBean, WebLogicMBean
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 targeted Web Server.


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  boolean addVirtualHost(VirtualHostMBean target)
          Used to add a virtual host to the list of virtual hosts to which deployments may be targeted.
abstract  boolean addWebServer(WebServerMBean target)
          Deprecated. 7.0.0.0 This attribute is being replaced by VirtualHosts attribute
abstract  VirtualHostMBean[] getVirtualHosts()
          Provides a means to target your deployments to specific virtual hosts.
abstract  WebServerMBean[] getWebServers()
          Deprecated. 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.
abstract  boolean removeVirtualHost(VirtualHostMBean target)
          Used to remove a virtual host from the list of virtual hosts to which deployments may be targeted.
abstract  boolean removeWebServer(WebServerMBean target)
          Deprecated. 7.0.0.0 This attribute is being replaced by VirtualHosts attribute
abstract  void setDeployedVirtualHosts(VirtualHostMBean[] targets)
           
abstract  void setVirtualHosts(VirtualHostMBean[] WebServers)
          Sets the value of the getVirtualHosts attribute
abstract  void setWebServers(WebServerMBean[] WebServers)
          Deprecated. 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, 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

getWebServers

WebServerMBean[] getWebServers()
Deprecated. 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 a list of the targets on which this deployment is deployed.

Returns:
The webServers value

setWebServers

void setWebServers(WebServerMBean[] WebServers)
                   throws InvalidAttributeValueException,
                          DistributedManagementException
Deprecated. 7.0.0.0 This attribute is being replaced by VirtualHosts attribute

Set the value of the getWebServers attribute.

Parameters:
WebServers - The new webServers value
Throws:
InvalidAttributeValueException
DistributedManagementException
See Also:
WebDeploymentMBean.getWebServers()

addWebServer

boolean addWebServer(WebServerMBean target)
                     throws InvalidAttributeValueException,
                            DistributedManagementException
Deprecated. 7.0.0.0 This attribute is being replaced by VirtualHosts attribute

This adds a target to the list of web servers to which a deployment may be targeted.

Parameters:
target - The feature to be added to the WebServer attribute
Throws:
InvalidAttributeValueException
DistributedManagementException

removeWebServer

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

This removes a target from the list of web servers which may be targeted for deployments.

Parameters:
target -
Throws:
DistributedManagementException

getVirtualHosts

VirtualHostMBean[] getVirtualHosts()

Provides a means to target your deployments to specific virtual hosts.

Returns:
The virtualHosts value
Since:
7.0.0.0.

setVirtualHosts

void setVirtualHosts(VirtualHostMBean[] WebServers)
                     throws InvalidAttributeValueException,
                            DistributedManagementException

Sets the value of the getVirtualHosts attribute

Parameters:
WebServers - The new virtualHosts value
Throws:
InvalidAttributeValueException
DistributedManagementException
Since:
7.0.0.0
See Also:
WebDeploymentMBean.getVirtualHosts()

addVirtualHost

boolean addVirtualHost(VirtualHostMBean target)
                       throws InvalidAttributeValueException,
                              DistributedManagementException

Used to add a virtual host to the list of virtual hosts to which deployments may be targeted.

Parameters:
target - The feature to be added to the VirtualHost attribute
Throws:
InvalidAttributeValueException
DistributedManagementException
Since:
7.0.0.0.

removeVirtualHost

boolean removeVirtualHost(VirtualHostMBean target)
                          throws DistributedManagementException

Used to remove a virtual host from the list of virtual hosts to which deployments may be targeted.

Parameters:
target -
Throws:
DistributedManagementException
Since:
7.0.0.0.

setDeployedVirtualHosts

void setDeployedVirtualHosts(VirtualHostMBean[] targets)

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