public class ConnectionFactoryDefinitionInjectionSource extends ResourceDefinitionInjectionSource
InjectionSource.ResolutionContext
Modifier and Type | Field and Description |
---|---|
static String |
DESCRIPTION |
static String |
MAX_POOL_SIZE |
static String |
MIN_POOL_SIZE |
static String |
TRANSACTION_SUPPORT |
jndiName, properties
Constructor and Description |
---|
ConnectionFactoryDefinitionInjectionSource(String jndiName,
String interfaceName,
String resourceAdapter) |
Modifier and Type | Method and Description |
---|---|
void |
addProperty(String key,
String value) |
boolean |
equals(Object o) |
String |
getDescription() |
int |
getMaxPoolSize() |
int |
getMinPoolSize() |
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)
Get the value to use as the injection source.
|
javax.resource.spi.TransactionSupport.TransactionSupportLevel |
getTransactionSupportLevel() |
int |
hashCode() |
void |
setDescription(String description) |
void |
setMaxPoolSize(int maxPoolSize) |
void |
setMinPoolSize(int minPoolSize) |
void |
setTransactionSupportLevel(javax.resource.spi.TransactionSupport.TransactionSupportLevel transactionSupport) |
addProperties, addProperties, addProperties, getJndiName
public static final String DESCRIPTION
public static final String MAX_POOL_SIZE
public static final String MIN_POOL_SIZE
public static final String TRANSACTION_SUPPORT
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
InjectionSource
getResourceValue
in class InjectionSource
context
- the resolution context to useserviceBuilder
- the builder for the binder servicephaseContext
- the deployment phase contextinjector
- the injector into which the value should be placedorg.jboss.as.server.deployment.DeploymentUnitProcessingException
- if an error occurspublic String getDescription()
public void setDescription(String description)
public int getMaxPoolSize()
public void setMaxPoolSize(int maxPoolSize)
public int getMinPoolSize()
public void setMinPoolSize(int minPoolSize)
public javax.resource.spi.TransactionSupport.TransactionSupportLevel getTransactionSupportLevel()
public void setTransactionSupportLevel(javax.resource.spi.TransactionSupport.TransactionSupportLevel transactionSupport)
public boolean equals(Object o)
equals
in class ResourceDefinitionInjectionSource
public int hashCode()
hashCode
in class ResourceDefinitionInjectionSource
Copyright © 2016 JBoss by Red Hat. All rights reserved.