public class CleanupFactory extends Object
Modifier and Type | Field and Description |
---|---|
static 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 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.CleanupFactoryException
public 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
Copyright © 2011 The University of Southern California. All Rights Reserved.