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.
DEFAULT_ORDER, MAX_ORDER, MIN_ORDER
DEFAULT_EMPTY_BYTE_ARRAY
Modifier and Type | Method and Description |
---|---|
boolean |
addVirtualHost(VirtualHostMBean target)
Used to add a virtual host to the list of virtual hosts to which
deployments may be targeted.
|
boolean |
addWebServer(WebServerMBean target)
Deprecated.
7.0.0.0 This attribute is being replaced by VirtualHosts attribute
|
VirtualHostMBean[] |
getDeployedVirtualHosts()
Copy of this module's host list based on last deployment
|
VirtualHostMBean[] |
getVirtualHosts()
Provides a means to target your deployments to specific virtual
hosts.
|
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.
|
boolean |
removeVirtualHost(VirtualHostMBean target)
Used to remove a virtual host from the list of virtual hosts to
which deployments may be targeted.
|
boolean |
removeWebServer(WebServerMBean target)
Deprecated.
7.0.0.0 This attribute is being replaced by VirtualHosts attribute
|
void |
setDeployedVirtualHosts(VirtualHostMBean[] targets) |
void |
setVirtualHosts(VirtualHostMBean[] WebServers)
Sets the value of the getVirtualHosts attribute
|
void |
setWebServers(WebServerMBean[] WebServers)
Deprecated.
7.0.0.0 This attribute is being replaced by VirtualHosts attribute
|
addTarget, getDeploymentOrder, getTargets, removeTarget, setDeploymentOrder, setTargets
addTag, freezeCurrentValue, getComments, getId, getInheritedProperties, getName, getNotes, getTags, isDefaultedMBean, isDynamicallyCreated, isInherited, isPersistenceEnabled, isSet, removeTag, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, setTags, touch, unSet
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent
getAttribute, getAttributes, invoke, setAttribute, setAttributes
postDeregister, postRegister, preDeregister, preRegister
addNotificationListener, getNotificationInfo, removeNotificationListener
addBeanUpdateListener, addPropertyChangeListener, createChildCopy, createChildCopyIncludingObsolete, getDescriptor, getParentBean, isEditable, removeBeanUpdateListener, removePropertyChangeListener
@Deprecated WebServerMBean[] getWebServers()
Returns a list of the targets on which this deployment is deployed.
@Deprecated void setWebServers(WebServerMBean[] WebServers) throws javax.management.InvalidAttributeValueException, DistributedManagementException
Set the value of the getWebServers attribute.
WebServers
- The new webServers valuejavax.management.InvalidAttributeValueException
DistributedManagementException
WebDeploymentMBean.getWebServers()
@Deprecated boolean addWebServer(WebServerMBean target) throws javax.management.InvalidAttributeValueException, DistributedManagementException
This adds a target to the list of web servers to which a deployment may be targeted.
target
- The feature to be added to the WebServer attributejavax.management.InvalidAttributeValueException
DistributedManagementException
@Deprecated boolean removeWebServer(WebServerMBean target) throws DistributedManagementException
This removes a target from the list of web servers which may be targeted for deployments.
target
- DistributedManagementException
VirtualHostMBean[] getVirtualHosts()
Provides a means to target your deployments to specific virtual hosts.
void setVirtualHosts(VirtualHostMBean[] WebServers) throws javax.management.InvalidAttributeValueException, DistributedManagementException
Sets the value of the getVirtualHosts attribute
WebServers
- The new virtualHosts valuejavax.management.InvalidAttributeValueException
DistributedManagementException
WebDeploymentMBean.getVirtualHosts()
boolean addVirtualHost(VirtualHostMBean target) throws javax.management.InvalidAttributeValueException, DistributedManagementException
Used to add a virtual host to the list of virtual hosts to which deployments may be targeted.
target
- The feature to be added to the VirtualHost attributejavax.management.InvalidAttributeValueException
DistributedManagementException
boolean removeVirtualHost(VirtualHostMBean target) throws DistributedManagementException
Used to remove a virtual host from the list of virtual hosts to which deployments may be targeted.
target
- DistributedManagementException
VirtualHostMBean[] getDeployedVirtualHosts()
Copy of this module's host list based on last deployment
void setDeployedVirtualHosts(VirtualHostMBean[] targets)