- java.lang.Object
-
- org.jvnet.mimepull.CleanUpExecutorFactory
-
public abstract class CleanUpExecutorFactory extends java.lang.Object
A service to clean up created resources.
-
-
Field Summary
Fields Modifier and Type Field Description private static java.util.logging.Logger
LOGGER
-
Constructor Summary
Constructors Modifier Constructor Description protected
CleanUpExecutorFactory()
Default constructor
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract java.util.concurrent.ScheduledExecutorService
getScheduledExecutorService()
Return ScheduledExecutorServicestatic CleanUpExecutorFactory
newInstance()
Lookup CleanUpExecutorFactory using ServiceLoader
-
-
-
Method Detail
-
newInstance
public static CleanUpExecutorFactory newInstance()
Lookup CleanUpExecutorFactory using ServiceLoader- Returns:
- CleanUpExecutorFactory or null if not found
-
getScheduledExecutorService
public abstract java.util.concurrent.ScheduledExecutorService getScheduledExecutorService()
Return ScheduledExecutorService- Returns:
- ScheduledExecutorService
-
-