|
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 TargetInfoMBean
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."
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 |
Method Detail |
---|
void setName(String name) throws InvalidAttributeValueException, ManagementException
Sets the value of the Name attribute.
setName
in interface ConfigurationMBean
InvalidAttributeValueException
ManagementException
String getName()
getName
in interface ConfigurationMBean
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 Targets attribute.
targets
- The new targets value
InvalidAttributeValueException
DistributedManagementException
TargetInfoMBean.getTargets()
void 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
void removeTarget(TargetMBean target) throws InvalidAttributeValueException, DistributedManagementException
Removes the value of the Target attribute.
target
- The target to remove
InvalidAttributeValueException
DistributedManagementException
TargetInfoMBean.addTarget(weblogic.management.configuration.TargetMBean)
void setModuleType(String moduleType)
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.
void setCompatibilityName(String name)
|
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 |