NamedEntityBean
, SettableBean
DestinationBean
, ForeignServerBean
, JMSConnectionFactoryBean
, QueueBean
, SAFImportedDestinationsBean
, TopicBean
, UniformDistributedDestinationBean
, UniformDistributedQueueBean
, UniformDistributedTopicBean
public interface TargetableBean extends NamedEntityBean
Modifier and Type | Method | Description |
---|---|---|
java.lang.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(java.lang.String subDeploymentName) |
Sets the name of the sub-deployment to use when targeting this entity
|
java.lang.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.
void setSubDeploymentName(java.lang.String subDeploymentName) throws java.lang.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.
subDeploymentName
- The name of the group to which this entity should belongjava.lang.IllegalArgumentException
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.
void setDefaultTargetingEnabled(boolean defaultTargetingEnabled) throws java.lang.IllegalArgumentException
Sets the value of the DefaultTargetingEnabled attribute.
defaultTargetingEnabled
- java.lang.IllegalArgumentException
isDefaultTargetingEnabled()