public class CleanupFactory
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_PACKAGE_NAME
The default package where the all the implementing classes are supposed to
reside.
|
| Constructor and Description |
|---|
CleanupFactory() |
| Modifier and Type | Method and Description |
|---|---|
static CleanupImplementation |
loadCleanupImplementationInstance(PegasusBag bag)
Loads the implementing class corresponding to the mode specified by the
user at runtime.
|
static CleanupStrategy |
loadCleanupStraegyInstance(PegasusBag bag)
Loads the implementing class corresponding to the mode specified by the
user at runtime.
|
public static final java.lang.String DEFAULT_PACKAGE_NAME
public static CleanupStrategy loadCleanupStraegyInstance(PegasusBag bag) throws CleanupFactoryException
bag - bag of initialization objectsFactoryException - that nests any error that
might occur during the instantiation of the implementation.CleanupFactoryExceptionpublic static CleanupImplementation loadCleanupImplementationInstance(PegasusBag bag) throws CleanupFactoryException
bag - bag of initialization objectsFactoryException - that nests any error that
might occur during the instantiation of the implementation.CleanupFactoryException