public class LookupTransactionManagerProviderConfiguration extends java.lang.Object implements ServiceCreationConfiguration<TransactionManagerProvider,java.lang.Class<? extends TransactionManagerLookup>>
ServiceCreationConfiguration
for the LookupTransactionManagerProvider
.Constructor and Description |
---|
LookupTransactionManagerProviderConfiguration(java.lang.Class<? extends TransactionManagerLookup> clazz) |
LookupTransactionManagerProviderConfiguration(java.lang.String className) |
Modifier and Type | Method and Description |
---|---|
LookupTransactionManagerProviderConfiguration |
build(java.lang.Class<? extends TransactionManagerLookup> clazz)
Construct a new configuration from the given detached representation.
|
java.lang.Class<? extends TransactionManagerLookup> |
derive()
Derive a detached representation from this configuration
|
java.lang.Class<TransactionManagerProvider> |
getServiceType()
Indicates which service consumes this configuration at creation.
|
java.lang.Class<? extends TransactionManagerLookup> |
getTransactionManagerLookup()
Returns the class to be used for transaction manager lookup.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compatibleWith
public LookupTransactionManagerProviderConfiguration(java.lang.String className) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
public LookupTransactionManagerProviderConfiguration(java.lang.Class<? extends TransactionManagerLookup> clazz)
public java.lang.Class<? extends TransactionManagerLookup> getTransactionManagerLookup()
public java.lang.Class<TransactionManagerProvider> getServiceType()
ServiceCreationConfiguration
getServiceType
in interface ServiceCreationConfiguration<TransactionManagerProvider,java.lang.Class<? extends TransactionManagerLookup>>
public java.lang.Class<? extends TransactionManagerLookup> derive()
ServiceCreationConfiguration
derive
in interface ServiceCreationConfiguration<TransactionManagerProvider,java.lang.Class<? extends TransactionManagerLookup>>
public LookupTransactionManagerProviderConfiguration build(java.lang.Class<? extends TransactionManagerLookup> clazz)
ServiceCreationConfiguration
build
in interface ServiceCreationConfiguration<TransactionManagerProvider,java.lang.Class<? extends TransactionManagerLookup>>
clazz
- a detached representation