Interface AbstractManagedObjectPoolSource.MetaDataContext
- Enclosing class:
- AbstractManagedObjectPoolSource
public static interface AbstractManagedObjectPoolSource.MetaDataContext
Context for the
ManagedObjectPoolSource.init(ManagedObjectPoolSourceContext).-
Method Summary
Modifier and TypeMethodDescriptionvoidaddThreadCompleteListener(ThreadCompletionListenerFactory threadCompletionListenerFactory) Adds aThreadCompletionListener.Obtains theManagedObjectPoolSourceContext.voidsetManagedObjectPoolFactory(ManagedObjectPoolFactory managedObjectPoolFactory) Specifies theManagedObjectPoolFactory.voidsetPooledObjectType(Class<?> pooledObjectType) Specifies the pooled object type.
-
Method Details
-
getManagedObjectPoolSourceContext
ManagedObjectPoolSourceContext getManagedObjectPoolSourceContext()Obtains theManagedObjectPoolSourceContext.- Returns:
ManagedObjectPoolSourceContext.
-
setPooledObjectType
Specifies the pooled object type.- Parameters:
pooledObjectType- Pooled object type.
-
setManagedObjectPoolFactory
Specifies theManagedObjectPoolFactory.- Parameters:
managedObjectPoolFactory-ManagedObjectPoolFactory.
-
addThreadCompleteListener
Adds aThreadCompletionListener.- Parameters:
threadCompletionListenerFactory-ThreadCompletionListenerFactoryfor theThreadCompletionListener.
-