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

Part Number E27170-02

weblogic.j2ee.descriptor.wl
Interface TargetableBean

All Superinterfaces:
NamedEntityBean, SettableBean
All Known Subinterfaces:
DestinationBean, ForeignServerBean, JMSConnectionFactoryBean, QueueBean, SAFImportedDestinationsBean, TopicBean, UniformDistributedDestinationBean, UniformDistributedQueueBean, UniformDistributedTopicBean

public interface TargetableBean
extends NamedEntityBean

All JMS beans that can be targeted extend the targetable bean. It represents an entity that may be targeted at one or more entities in the domain.


Method Summary
 String getSubDeploymentName()
          Gets the name of the sub-deployment to use when targeting this entity
 boolean isDefaultTargetingEnabled()
          Specifies whether this JMS resource defaults to the parent module's targeting or uses the subdeployment targeting mechanism.
 void setDefaultTargetingEnabled(boolean defaultTargetingEnabled)
          Sets the value of the DefaultTargetingEnabled attribute.
 void setSubDeploymentName(String subDeploymentName)
          Sets the name of the sub-deployment to use when targeting this entity
 
Methods inherited from interface weblogic.j2ee.descriptor.wl.NamedEntityBean
getId, getName, getNotes, setName, setNotes
 
Methods inherited from interface weblogic.descriptor.SettableBean
isSet, unSet
 

Method Detail

getSubDeploymentName

String getSubDeploymentName()

Gets the name of the sub-deployment to use when targeting this entity

Entities are targeted using a sub-deployment with this name. The targets of the sub-deployment will be the targets of this entity.

Returns:
The name of the group to which this entity belongs

setSubDeploymentName

void setSubDeploymentName(String subDeploymentName)
                          throws IllegalArgumentException

Sets the name of the sub-deployment to use when targeting this entity

Entities are targeted using a sub-deployment with this name. The targets of the sub-deployment will be the targets of this entity.

Parameters:
subDeploymentName - The name of the group to which this entity should belong
Throws:
IllegalArgumentException

isDefaultTargetingEnabled

boolean isDefaultTargetingEnabled()

Specifies whether this JMS resource defaults to the parent module's targeting or uses the subdeployment targeting mechanism.

When set to true, this resource implicitly inherits the targeting of its parent module. When set to false, this resource gets targeted based its subdeployment's targets, if one is specified.

Returns:
The name of the group to which this entity belongs
Default Value:
false

setDefaultTargetingEnabled

void setDefaultTargetingEnabled(boolean defaultTargetingEnabled)
                                throws IllegalArgumentException

Sets the value of the DefaultTargetingEnabled attribute.

Parameters:
defaultTargetingEnabled -
Throws:
IllegalArgumentException
See Also:
TargetableBean.isDefaultTargetingEnabled()

Copyright 1996, 2013, 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.1.2)

Part Number E27170-02