Interface ManagedObjectPoolContext
-
- All Known Implementing Classes:
ManagedObjectPoolContextImpl
public interface ManagedObjectPoolContextContext for theManagedObjectPool.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ManagedObjectSource<?,?>getManagedObjectSource()ManagedObjectSourceto have itsManagedObjectinstances pooled.booleanisCurrentThreadManaged()Indicates if the currentThreadis managed.
-
-
-
Method Detail
-
getManagedObjectSource
ManagedObjectSource<?,?> getManagedObjectSource()
ManagedObjectSourceto have itsManagedObjectinstances pooled.- Returns:
ManagedObjectSource.
-
isCurrentThreadManaged
boolean isCurrentThreadManaged()
Indicates if the currentThreadis managed. A managedThreadwill notify theThreadCompletionListenerinstances of its completion.- Returns:
trueif the currentThreadis managed.
-
-