public class DirectConnectionFactoryInjectionSource extends InjectionSource
InjectionSource.ResolutionContext
Modifier and Type | Field and Description |
---|---|
static String |
DESCRIPTION |
static String |
MAX_POOL_SIZE |
static String |
MIN_POOL_SIZE |
static String |
PROPERTIES |
static String |
TRANSACTION_SUPPORT |
Constructor and Description |
---|
DirectConnectionFactoryInjectionSource(String jndiName,
String interfaceName,
String resourceAdapter) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getDescription() |
int |
getMaxPoolSize() |
int |
getMinPoolSize() |
String[] |
getProperties() |
void |
getResourceValue(InjectionSource.ResolutionContext context,
org.jboss.msc.service.ServiceBuilder<?> serviceBuilder,
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 |
setProperties(String[] properties) |
void |
setTransactionSupportLevel(javax.resource.spi.TransactionSupport.TransactionSupportLevel transactionSupport) |
public static final String DESCRIPTION
public static final String MAX_POOL_SIZE
public static final String MIN_POOL_SIZE
public static final String PROPERTIES
public static final String TRANSACTION_SUPPORT
public void getResourceValue(InjectionSource.ResolutionContext context, org.jboss.msc.service.ServiceBuilder<?> serviceBuilder, DeploymentPhaseContext phaseContext, org.jboss.msc.inject.Injector<ManagedReferenceFactory> injector) throws 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 placedDeploymentUnitProcessingException
- 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 String[] getProperties()
public void setProperties(String[] properties)
public javax.resource.spi.TransactionSupport.TransactionSupportLevel getTransactionSupportLevel()
public void setTransactionSupportLevel(javax.resource.spi.TransactionSupport.TransactionSupportLevel transactionSupport)
Copyright © 2015 JBoss by Red Hat. All rights reserved.