|
BEA Systems, Inc. | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
MBeanHome
interface.)
This bean represents any weblogic entity which can be targeted.
A bean of this type does not imply that it can be deployed on a weblogic
domain. For example, a module within an ear or a submodule within a JMS
module. Deployments are represented by BasicDeploymentMBean
.
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"
on http://www.oracle.com/technology/documentation/index.html.
Field Summary |
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean |
DEFAULT_EMPTY_BYTE_ARRAY |
Method Summary | |
void |
addTarget(TargetMBean target)
You can add a target to specify additional servers on which the deployment can be deployed. |
String |
getCompatibilityName()
This is only set for beans created as a result of conversion from an 8.1 application configured using ApplicationMBean and ComponentMBean. |
String |
getName()
Unique identifier for this bean instance. |
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. |
void |
removeTarget(TargetMBean target)
Removes the value of the Target attribute. |
void |
setCompatibilityName(String name)
|
void |
setModuleType(String moduleType)
|
void |
setName(String name)
Sets the value of the Name attribute. |
void |
setTargets(TargetMBean[] targets)
Sets the value of the Targets attribute. |
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean |
freezeCurrentValue, getNotes, isSet, restoreDefaultValue, setComments, setDefaultedMBean, 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 |
addBeanUpdateListener, addPropertyChangeListener, createChildCopy, createChildCopyIncludingObsolete, getDescriptor, getParentBean, isEditable, removeBeanUpdateListener, removePropertyChangeListener |
Method Detail |
public void addTarget(TargetMBean target) throws InvalidAttributeValueException, weblogic.management.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
weblogic.management.DistributedManagementException
public String getCompatibilityName()
This is only set for beans created as a result of conversion from an 8.1 application configured using ApplicationMBean and ComponentMBean.
Standalone modules in 8.1 have both an ApplicationMBean name and ComponentMBean name. This attribute stores the name of the latter, to be used when the server creates the transient ComponentMBean for backward compatibility.
public String getName()
getName
in interface ConfigurationMBean
public 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.
public void removeTarget(TargetMBean target) throws InvalidAttributeValueException, weblogic.management.DistributedManagementException
Removes the value of the Target attribute.
target
- The target to remove
InvalidAttributeValueException
weblogic.management.DistributedManagementException
addTarget(weblogic.management.configuration.TargetMBean)
public void setCompatibilityName(String name)
public void setModuleType(String moduleType)
public void setName(String name) throws InvalidAttributeValueException, weblogic.management.ManagementException
Sets the value of the Name attribute.
setName
in interface ConfigurationMBean
InvalidAttributeValueException
weblogic.management.ManagementException
public void setTargets(TargetMBean[] targets) throws InvalidAttributeValueException, weblogic.management.DistributedManagementException
Sets the value of the Targets attribute.
targets
- The new targets value
InvalidAttributeValueException
weblogic.management.DistributedManagementException
getTargets()
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs90 Copyright 2005 BEA Systems Inc. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |