Oracle Fusion Middleware
Oracle WebLogic Server MBean Javadoc
11g Release 1 (10.3.6)

Part Number E13945-06

weblogic.management.configuration
Interface TargetInfoMBean

All Superinterfaces:
ConfigurationMBean
All Known Subinterfaces:
SubDeploymentMBean

public interface TargetInfoMBean
extends ConfigurationMBean

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.

Deprecation of MBeanHome and Type-Safe Interfaces

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."

Access limited to the following security roles:
Deployer

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

setName

void setName(String name)
             throws InvalidAttributeValueException,
                    ManagementException

Sets the value of the Name attribute.

Specified by:
setName in interface ConfigurationMBean
Throws:
InvalidAttributeValueException
ManagementException
This method can NOT set a null value.
This method can NOT set a value of zero length.

getName

String getName()
Unique identifier for this bean instance.

Specified by:
getName in interface ConfigurationMBean
This method can NOT set a null value.

getTargets

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.

Returns:
The targets value

setTargets

void setTargets(TargetMBean[] targets)
                throws InvalidAttributeValueException,
                       DistributedManagementException

Sets the value of the Targets attribute.

Parameters:
targets - The new targets value
Throws:
InvalidAttributeValueException
DistributedManagementException
See Also:
TargetInfoMBean.getTargets()

addTarget

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.

Parameters:
target - The feature to be added to the Target attribute
Throws:
InvalidAttributeValueException
DistributedManagementException

removeTarget

void removeTarget(TargetMBean target)
                  throws InvalidAttributeValueException,
                         DistributedManagementException

Removes the value of the Target attribute.

Parameters:
target - The target to remove
Throws:
InvalidAttributeValueException
DistributedManagementException
See Also:
TargetInfoMBean.addTarget(weblogic.management.configuration.TargetMBean)

setModuleType

void setModuleType(String moduleType)

getCompatibilityName

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.


setCompatibilityName

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