Interface AbstractManagedObjectPoolSource.MetaDataContext
-
- Enclosing class:
- AbstractManagedObjectPoolSource
public static interface AbstractManagedObjectPoolSource.MetaDataContext
Context for theManagedObjectPoolSource.init(ManagedObjectPoolSourceContext)
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addThreadCompleteListener(ThreadCompletionListenerFactory threadCompletionListenerFactory)
Adds aThreadCompletionListener
.ManagedObjectPoolSourceContext
getManagedObjectPoolSourceContext()
Obtains theManagedObjectPoolSourceContext
.void
setManagedObjectPoolFactory(ManagedObjectPoolFactory managedObjectPoolFactory)
Specifies theManagedObjectPoolFactory
.void
setPooledObjectType(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
-ThreadCompletionListenerFactory
for theThreadCompletionListener
.
-
-