|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sourceforge.jpatterns.core.JPEngineFactory
public final class JPEngineFactory
Singleton-factory for the accesing the entry points of all the JPatterns operations. Currently it is only IJPEngine,
still there could be another entry points may occurr here in the future.
$Author:: zmicer $
$Rev:: 67 $
* $Date:: 2007-08-28 21:37:07 #$
$Date:: 2007-08-28 21:37:07 #$
| Field Summary | |
|---|---|
static org.apache.log4j.Logger |
LOG
Logger instance. |
| Method Summary | |
|---|---|
static JPEngineFactory |
getInstance()
|
static IJPEngine |
getJPEngine(JPConstants.EngineConfigCaregory category)
Get the IJPEngine of the necessary category. |
void |
init()
Init method. |
protected IJPEngine |
instantiateEngine()
|
protected static void |
logAndThrow(String message)
Log the message and then throw it. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final org.apache.log4j.Logger LOG
| Method Detail |
|---|
public void init()
protected IJPEngine instantiateEngine()
public static JPEngineFactory getInstance()
JPEngineFactorypublic static IJPEngine getJPEngine(JPConstants.EngineConfigCaregory category)
category - the category to be used, Can not be null (otherwise IllegalArgumentException would appear).
protected static void logAndThrow(String message)
throws JPInitializationException
message - the not emopty message to be thrown and logged
JPInitializationException - always, using message
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||