Interface AbstractManagedObjectPoolSource.MetaDataContext
-
- Enclosing class:
- AbstractManagedObjectPoolSource
public static interface AbstractManagedObjectPoolSource.MetaDataContextContext for theManagedObjectPoolSource.init(ManagedObjectPoolSourceContext).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddThreadCompleteListener(ThreadCompletionListenerFactory threadCompletionListenerFactory)Adds aThreadCompletionListener.ManagedObjectPoolSourceContextgetManagedObjectPoolSourceContext()Obtains theManagedObjectPoolSourceContext.voidsetManagedObjectPoolFactory(ManagedObjectPoolFactory managedObjectPoolFactory)Specifies theManagedObjectPoolFactory.voidsetPooledObjectType(java.lang.Class<?> pooledObjectType)Specifies the pooled object type.
-
-
-
Method Detail
-
getManagedObjectPoolSourceContext
ManagedObjectPoolSourceContext getManagedObjectPoolSourceContext()
Obtains theManagedObjectPoolSourceContext.- Returns:
ManagedObjectPoolSourceContext.
-
setPooledObjectType
void setPooledObjectType(java.lang.Class<?> pooledObjectType)
Specifies the pooled object type.- Parameters:
pooledObjectType- Pooled object type.
-
setManagedObjectPoolFactory
void setManagedObjectPoolFactory(ManagedObjectPoolFactory managedObjectPoolFactory)
Specifies theManagedObjectPoolFactory.- Parameters:
managedObjectPoolFactory-ManagedObjectPoolFactory.
-
addThreadCompleteListener
void addThreadCompleteListener(ThreadCompletionListenerFactory threadCompletionListenerFactory)
Adds aThreadCompletionListener.- Parameters:
threadCompletionListenerFactory-ThreadCompletionListenerFactoryfor theThreadCompletionListener.
-
-