public class PPSFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_PACKAGE_NAME
The default package where all the implementations reside.
|
static java.lang.String |
DEFAULT_PPS_PROVIDER
The default PPS implementation to be used.
|
private static PPS |
mInstance
The singleton instance of the PPS implementation that is returned.
|
static java.lang.String |
PASOA_PPS_PROVIDER
The default Pasoa PPS implementation to be used.
|
Constructor and Description |
---|
PPSFactory() |
Modifier and Type | Method and Description |
---|---|
static PPS |
loadPPS(PegasusProperties properties)
Loads the appropriate PPS implementation on the basis of the property set in the
properties.
|
public static final java.lang.String DEFAULT_PACKAGE_NAME
public static final java.lang.String DEFAULT_PPS_PROVIDER
public static final java.lang.String PASOA_PPS_PROVIDER
private static PPS mInstance
public static PPS loadPPS(PegasusProperties properties) throws PPSFactoryException
properties
- the PegasusProperties
object containing all
the properties required by Pegasus.PPSFactoryException
- that nests any error that
might occur during the instantiationDEFAULT_PACKAGE_NAME