Class ConnectionFactoryDefinitionInjectionSource
java.lang.Object
org.jboss.as.ee.component.InjectionSource
org.jboss.as.ee.resource.definition.ResourceDefinitionInjectionSource
org.jboss.as.connector.deployers.ra.ConnectionFactoryDefinitionInjectionSource
A binding description for ConnectionFactoryDefinition annotations.
The referenced connection factory must be directly visible to the
component declaring the annotation.
- Author:
- Jesper Pedersen
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jboss.as.ee.component.InjectionSource
InjectionSource.ResolutionContext -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class org.jboss.as.ee.resource.definition.ResourceDefinitionInjectionSource
jndiName, properties -
Constructor Summary
ConstructorsConstructorDescriptionConnectionFactoryDefinitionInjectionSource(String jndiName, String interfaceName, String resourceAdapter) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddProperty(String key, String value) booleanintintvoidgetResourceValue(InjectionSource.ResolutionContext context, org.jboss.msc.service.ServiceBuilder<?> serviceBuilder, org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext, org.jboss.msc.inject.Injector<ManagedReferenceFactory> injector) jakarta.resource.spi.TransactionSupport.TransactionSupportLevelinthashCode()voidsetDescription(String description) voidsetMaxPoolSize(int maxPoolSize) voidsetMinPoolSize(int minPoolSize) voidsetTransactionSupportLevel(jakarta.resource.spi.TransactionSupport.TransactionSupportLevel transactionSupport) Methods inherited from class org.jboss.as.ee.resource.definition.ResourceDefinitionInjectionSource
addProperties, addProperties, addProperties, getJndiName, uniqueName
-
Field Details
-
DESCRIPTION
- See Also:
-
MAX_POOL_SIZE
- See Also:
-
MIN_POOL_SIZE
- See Also:
-
TRANSACTION_SUPPORT
- See Also:
-
-
Constructor Details
-
ConnectionFactoryDefinitionInjectionSource
-
-
Method Details
-
addProperty
-
getResourceValue
public void getResourceValue(InjectionSource.ResolutionContext context, org.jboss.msc.service.ServiceBuilder<?> serviceBuilder, org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext, org.jboss.msc.inject.Injector<ManagedReferenceFactory> injector) throws org.jboss.as.server.deployment.DeploymentUnitProcessingException - Specified by:
getResourceValuein classInjectionSource- Throws:
org.jboss.as.server.deployment.DeploymentUnitProcessingException
-
getDescription
-
setDescription
-
getMaxPoolSize
public int getMaxPoolSize() -
setMaxPoolSize
public void setMaxPoolSize(int maxPoolSize) -
getMinPoolSize
public int getMinPoolSize() -
setMinPoolSize
public void setMinPoolSize(int minPoolSize) -
getTransactionSupportLevel
public jakarta.resource.spi.TransactionSupport.TransactionSupportLevel getTransactionSupportLevel() -
setTransactionSupportLevel
public void setTransactionSupportLevel(jakarta.resource.spi.TransactionSupport.TransactionSupportLevel transactionSupport) -
equals
- Overrides:
equalsin classResourceDefinitionInjectionSource
-
hashCode
public int hashCode()- Overrides:
hashCodein classResourceDefinitionInjectionSource
-