|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.osesb.utilities.compression.CompressionServiceFactory
public class CompressionServiceFactory
Factory for creating NEW instances of ICompressionService.
| Field Summary | |
|---|---|
static java.lang.String |
COMPRESSION_SERVICE_CLASS_PROPERTY
The name of the system property used to set the ICompressionService implementation class name. |
static java.lang.String |
COMPRESSION_SERVICE_PROPERTIES_FILE
The name of the properties file to search for. |
protected static CompressionServiceFactory |
compressionFactory
Singleton pattern - thread-safe construction of the factory. |
protected static boolean |
debugFlag
debugFlag. |
static java.lang.String |
DEFAULT_COMPRESSION_SERVICE_CLASS
The fully qualified class name of the default ICompressionService implementation. |
protected static org.apache.commons.logging.Log |
log
The logging implementation for this class. |
protected static java.lang.String |
thisClassName
The full name of this class |
| Constructor Summary | |
|---|---|
protected |
CompressionServiceFactory()
Protected constructor -- singleton pattern. |
| Method Summary | |
|---|---|
ICompressionService |
getCompressionService()
Construct and return a new instance of ICompressionService, using the following ordered lookup: 1. |
static CompressionServiceFactory |
getInstance()
Singleton pattern - returns the instance of this class. |
static void |
main(java.lang.String[] args)
main() - For Testing and sandboxing. |
void |
setDebugFlag(boolean theDebugFlag)
Sets the debugFlag for this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static org.apache.commons.logging.Log log
protected static CompressionServiceFactory compressionFactory
protected static java.lang.String thisClassName
public static final java.lang.String COMPRESSION_SERVICE_CLASS_PROPERTY
public static final java.lang.String DEFAULT_COMPRESSION_SERVICE_CLASS
public static final java.lang.String COMPRESSION_SERVICE_PROPERTIES_FILE
protected static boolean debugFlag
| Constructor Detail |
|---|
protected CompressionServiceFactory()
| Method Detail |
|---|
public static CompressionServiceFactory getInstance()
public ICompressionService getCompressionService()
throws java.lang.Exception
java.lang.Exception - if the ICompressionService implementation cannot be instantiated.public void setDebugFlag(boolean theDebugFlag)
theDebugFlag - The debugFlag for this object.public static void main(java.lang.String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||