Class 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
  • Field Details

  • Constructor Details

    • ConnectionFactoryDefinitionInjectionSource

      public ConnectionFactoryDefinitionInjectionSource(String jndiName, String interfaceName, String resourceAdapter)
  • Method Details

    • addProperty

      public void addProperty(String key, String value)
    • 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:
      getResourceValue in class InjectionSource
      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 jakarta.resource.spi.TransactionSupport.TransactionSupportLevel getTransactionSupportLevel()
    • setTransactionSupportLevel

      public void setTransactionSupportLevel(jakarta.resource.spi.TransactionSupport.TransactionSupportLevel transactionSupport)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class ResourceDefinitionInjectionSource
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class ResourceDefinitionInjectionSource