public interface DeploymentMBean extends ConfigurationMBean
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_ORDER
The default deployment order.
|
static int |
MAX_ORDER
The maximum value for a deployment order.
|
static int |
MIN_ORDER
The minimum value for a deployment order.
|
DEFAULT_EMPTY_BYTE_ARRAY
Modifier and Type | Method and Description |
---|---|
boolean |
addTarget(TargetMBean target)
You can add a target to specify additional servers on which the
deployment can be deployed.
|
int |
getDeploymentOrder()
A priority that the server uses to determine when it deploys an
item.
|
TargetMBean[] |
getTargets()
You must select a target on which an MBean will be deployed from
this list of the targets in the current domain on which this item
can be deployed.
|
boolean |
removeTarget(TargetMBean target)
Removes the value of the addTarget attribute.
|
void |
setDeploymentOrder(int order)
Sets the value of the DeploymentOrder attribute.
|
void |
setTargets(TargetMBean[] Targets)
Sets the value of the getTargets attribute.
|
freezeCurrentValue, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent
getAttribute, getAttributes, invoke, setAttribute, setAttributes
postDeregister, postRegister, preDeregister, preRegister
addNotificationListener, getNotificationInfo, removeNotificationListener
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener
static final int DEFAULT_ORDER
static final int MIN_ORDER
static final int MAX_ORDER
TargetMBean[] getTargets()
You must select a target on which an MBean will be deployed from this list of the targets in the current domain on which this item can be deployed. Targets must be either servers or clusters. The deployment will only occur once if deployments overlap.
void setTargets(TargetMBean[] Targets) throws InvalidAttributeValueException, DistributedManagementException
Sets the value of the getTargets attribute.
Targets
- The new targets valueInvalidAttributeValueException
DistributedManagementException
DeploymentMBean.getTargets()
boolean addTarget(TargetMBean target) throws InvalidAttributeValueException, DistributedManagementException
You can add a target to specify additional servers on which the deployment can be deployed. The targets must be either clusters or servers.
target
- The feature to be added to the Target attributeInvalidAttributeValueException
DistributedManagementException
boolean removeTarget(TargetMBean target) throws InvalidAttributeValueException, DistributedManagementException
Removes the value of the addTarget attribute.
target
- InvalidAttributeValueException
DistributedManagementException
DeploymentMBean.addTarget(weblogic.management.configuration.TargetMBean)
int getDeploymentOrder()
A priority that the server uses to determine when it deploys an item. The priority is relative to other deployable items of the same type.
For example, the server prioritizes and deploys all EJBs before it prioritizes and deploys startup classes.
Items with the lowest Deployment Order value are deployed first. There is no guarantee on the order of deployments with equal Deployment Order values. There is no guarantee of ordering across clusters.
void setDeploymentOrder(int order)
Sets the value of the DeploymentOrder attribute.
order
- The new deploymentOrder valueDeploymentMBean.getDeploymentOrder()