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
-
public class ConnectionFactoryDefinitionInjectionSource extends ResourceDefinitionInjectionSource
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
Fields Modifier and Type Field Description static StringDESCRIPTIONstatic StringMAX_POOL_SIZEstatic StringMIN_POOL_SIZEstatic StringTRANSACTION_SUPPORT-
Fields inherited from class org.jboss.as.ee.resource.definition.ResourceDefinitionInjectionSource
jndiName, properties
-
-
Constructor Summary
Constructors Constructor Description ConnectionFactoryDefinitionInjectionSource(String jndiName, String interfaceName, String resourceAdapter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddProperty(String key, String value)booleanequals(Object o)StringgetDescription()intgetMaxPoolSize()intgetMinPoolSize()voidgetResourceValue(InjectionSource.ResolutionContext context, org.jboss.msc.service.ServiceBuilder<?> serviceBuilder, org.jboss.as.server.deployment.DeploymentPhaseContext phaseContext, org.jboss.msc.inject.Injector<ManagedReferenceFactory> injector)javax.resource.spi.TransactionSupport.TransactionSupportLevelgetTransactionSupportLevel()inthashCode()voidsetDescription(String description)voidsetLegacySecurityAvailable(boolean legacySecurityAvailable)voidsetMaxPoolSize(int maxPoolSize)voidsetMinPoolSize(int minPoolSize)voidsetTransactionSupportLevel(javax.resource.spi.TransactionSupport.TransactionSupportLevel transactionSupport)-
Methods inherited from class org.jboss.as.ee.resource.definition.ResourceDefinitionInjectionSource
addProperties, addProperties, addProperties, getJndiName
-
-
-
-
Field Detail
-
DESCRIPTION
public static final String DESCRIPTION
- See Also:
- Constant Field Values
-
MAX_POOL_SIZE
public static final String MAX_POOL_SIZE
- See Also:
- Constant Field Values
-
MIN_POOL_SIZE
public static final String MIN_POOL_SIZE
- See Also:
- Constant Field Values
-
TRANSACTION_SUPPORT
public static final String TRANSACTION_SUPPORT
- See Also:
- Constant Field Values
-
-
Method Detail
-
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
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getMaxPoolSize
public int getMaxPoolSize()
-
setMaxPoolSize
public void setMaxPoolSize(int maxPoolSize)
-
getMinPoolSize
public int getMinPoolSize()
-
setMinPoolSize
public void setMinPoolSize(int minPoolSize)
-
getTransactionSupportLevel
public javax.resource.spi.TransactionSupport.TransactionSupportLevel getTransactionSupportLevel()
-
setTransactionSupportLevel
public void setTransactionSupportLevel(javax.resource.spi.TransactionSupport.TransactionSupportLevel transactionSupport)
-
setLegacySecurityAvailable
public void setLegacySecurityAvailable(boolean legacySecurityAvailable)
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classResourceDefinitionInjectionSource
-
hashCode
public int hashCode()
- Overrides:
hashCodein classResourceDefinitionInjectionSource
-
-