Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.management.configuration
Interface TargetInfoMBean

All Superinterfaces:
ConfigurationMBean, DescriptorBean, DynamicMBean, MBeanRegistration, NotificationBroadcaster, SettableBean, WebLogicMBean
All Known Subinterfaces:
AppDeploymentMBean, BasicDeploymentMBean, CoherenceCacheConfigMBean, CoherenceClusterSystemResourceMBean, CustomResourceMBean, JDBCSystemResourceMBean, JMSInteropModuleMBean, JMSSystemResourceMBean, LibraryMBean, SingletonServiceAppScopedMBean, SubDeploymentMBean, SystemResourceMBean, WLDFSystemResourceMBean

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.


Field Summary

 

Fields inherited from interface weblogic.management.configuration.ConfigurationMBean
DEFAULT_EMPTY_BYTE_ARRAY

 

Method Summary
abstract  void addTarget(TargetMBean target)
          You can add a target to specify additional servers on which the deployment can be deployed.
abstract  String getCompatibilityName()
           This is only set for beans created as a result of conversion from an 8.1 application configured using ApplicationMBean and ComponentMBean.
abstract  String getName()
          Unique identifier for this bean instance.
abstract  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.
abstract  void removeTarget(TargetMBean target)
          Removes the value of the Target attribute.
abstract  void setCompatibilityName(String name)
           
abstract  void setModuleType(String moduleType)
           
abstract  void setName(String name)
          Sets the value of the Name attribute.
abstract  void setTargets(TargetMBean[] targets)
          Sets the value of the Targets attribute.

 

Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
freezeCurrentValue, getId, getInheritedProperties, getNotes, isDynamicallyCreated, isInherited, 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
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener

 

Method Detail

setName

void setName(String name)
             throws InvalidAttributeValueException,
                    ManagementException

Sets the value of the Name attribute.

Specified by:
setName in interface ConfigurationMBean
Specified by:
setName in interface WebLogicMBean
Throws:
InvalidAttributeValueException
ManagementException

getName

String getName()
Unique identifier for this bean instance.
Specified by:
getName in interface ConfigurationMBean
Specified by:
getName in interface WebLogicMBean

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)

Skip navigation links

Copyright 1996, 2015, 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
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09