|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.opensync.engine.server.Synchronizer
This object represents the motor of the OpenSync application.
| Field Summary | |
static Task |
currentTask
|
protected static java.text.SimpleDateFormat |
dateFormat
|
protected static Mapper |
mapper
The mapper use to synchronize the and transform views of tasks |
| Constructor Summary | |
Synchronizer()
|
|
| Method Summary | |
static void |
executeTask(Task task)
Execute a task |
static java.lang.String |
getClassName(java.lang.Object obj)
Trunc the full name of the class |
protected static void |
logDebug(Task task,
java.lang.String msgKey,
java.lang.Object[] params)
Log information |
static void |
logError(Task task,
java.lang.Exception ex)
Log error |
protected static void |
logInfo(Task task,
java.lang.String msgKey,
java.lang.Object[] params)
Log information |
protected static void |
logStat(Task task,
Statistic stat)
Log information |
static void |
logWarning(Task task,
java.lang.String msgKey,
java.lang.Object[] params)
Log information |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static java.text.SimpleDateFormat dateFormat
protected static Mapper mapper
Mapperpublic static Task currentTask
| Constructor Detail |
public Synchronizer()
| Method Detail |
public static void executeTask(Task task)
throws java.lang.Exception
task - the task to execute
javax.xml.transform.TransformerException
java.io.IOException
java.lang.Exception
protected static void logDebug(Task task,
java.lang.String msgKey,
java.lang.Object[] params)
task - the task executedmsgKey - the message to logparams - the message parameters
protected static void logInfo(Task task,
java.lang.String msgKey,
java.lang.Object[] params)
task - the task executedmsgKey - the message to logparams - the message parameters
protected static void logStat(Task task,
Statistic stat)
task - the task executed
public static void logWarning(Task task,
java.lang.String msgKey,
java.lang.Object[] params)
task - the task executedmsgKey - the message to logparams - the message parameters
public static void logError(Task task,
java.lang.Exception ex)
task - the executed taskex - the exception logpublic static java.lang.String getClassName(java.lang.Object obj)
obj - the class
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||