|
Oracle Fusion Middleware Oracle WebLogic Server MBean Javadoc 11g Release 1 (10.3.6) Part Number E13945-06 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DeploymentMBean
A Deployment is any MBean that may be deployed on one or more targets, such as a Component, a Web Server personality, a JMS Front-end or back-end or a JDBC connection pool. A deployment has targets, which specify which servers the deployment should be deployed on. Assigning the targets on a deployment will cause the deployment to get deployed on those targets. If the targets overlap, the deployment will only be deployed once. For example, if a deployment is deployed both on a cluster C and on a server S that is a member of that cluster, the deployment will be deployed on S only once. Simply adding or removing a target will not affect the deployment state for this deployment. The user must explicitly activate or deactivate the deployment. Certain types of deployments, ComponentMBeans, behave slightly differently. Please refer to their documentation for more information.
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."
Field Summary | |
---|---|
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. |
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean |
---|
DEFAULT_EMPTY_BYTE_ARRAY |
Method Summary | |
---|---|
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. |
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean |
---|
freezeCurrentValue, getName, getNotes, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet |
Field Detail |
---|
static final int DEFAULT_ORDER
static final int MIN_ORDER
static final int MAX_ORDER
Method Detail |
---|
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 value
InvalidAttributeValueException
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 attribute
InvalidAttributeValueException
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()
|
Copyright 1996, 2011, 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 Oracle WebLogic Server MBean Javadoc 11g Release 1 (10.3.6) Part Number E13945-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |