Package | Description |
---|---|
net.sourceforge.anotherfsm |
AnotherFSM is yet another implementation of state machines,
a library for Java programming language.
|
net.sourceforge.anotherfsm.examples.first |
Introduction to the main features of AnotherFSM library.
|
net.sourceforge.anotherfsm.examples.loggerinjection |
Example to show how to inject unsupported logger to AnotherFSM.
|
net.sourceforge.anotherfsm.examples.qfsm |
This example re-implements the functionality of First example with
significant help of code generated from Qfsm diagram.
|
net.sourceforge.anotherfsm.examples.timeouts |
The example defines a simple state machine with connected and
disconnected states.
|
net.sourceforge.anotherfsm.logger |
Generalized logging, whatever backend can be injected.
|
net.sourceforge.anotherfsm.qfsm |
Parser of Qfsm file format, Java
code generator.
|
Modifier and Type | Field and Description |
---|---|
protected FsmLogger |
ProcessorAdapter.logger
The logger.
|
Modifier and Type | Method and Description |
---|---|
static FsmLogger |
AnotherFsm.getLogger(java.lang.Class<?> clazz)
Get logger for a specific class.
|
static FsmLogger |
AnotherFsm.getLogger(java.lang.Class<?> clazz,
java.lang.String instance)
Get logger for a specific class and instance.
|
static FsmLogger |
AnotherFsm.getLogger(java.lang.String name)
Get logger for a specific logger with name.
|
Modifier and Type | Method and Description |
---|---|
static void |
Helpers.logExceptionInClientCallback(FsmLogger logger,
java.lang.String message,
java.lang.RuntimeException exception)
Log runtime exception that occurred in client callback.
|
static void |
Helpers.logThreadUnexpectedlyFinished(FsmLogger logger,
java.lang.String message,
java.lang.Throwable exception)
Log that a serious error occurred and the currently running thread is
being unexpectedly terminated.
|
Modifier and Type | Field and Description |
---|---|
private static FsmLogger |
FirstExample.logger
The logger object for this class.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
Log4jLogger
Wrapper of log4j's logger.
|
Modifier and Type | Field and Description |
---|---|
private static FsmLogger |
LoggerInjectionExample.logger
The logger object for this class.
|
Modifier and Type | Method and Description |
---|---|
FsmLogger |
Log4jLoggerFactory.getLogger(java.lang.Class<?> clazz) |
FsmLogger |
Log4jLoggerFactory.getLogger(java.lang.Class<?> clazz,
java.lang.String instance) |
FsmLogger |
Log4jLoggerFactory.getLogger(java.lang.String name) |
Modifier and Type | Field and Description |
---|---|
private static FsmLogger |
Qfsm.logger
The logger object for this class.
|
Modifier and Type | Field and Description |
---|---|
private static FsmLogger |
Timeouts.logger
The logger object for this class.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
BasicLogger
Logger that passes the messages to the standard output and standard error
streams.
|
(package private) class |
JavaLogger
Logger that uses Java logging API.
|
(package private) class |
NoLogger
Logger implementation that logs nothing.
|
(package private) class |
StdStreamLogger
Logger that logs to the standard output and standard error streams.
|
Modifier and Type | Field and Description |
---|---|
static FsmLogger |
NoLogger.instance
The class instance.
|
static FsmLogger |
BasicLogger.instance
The class instance.
|
Modifier and Type | Method and Description |
---|---|
FsmLogger |
NoLoggerFactory.getLogger(java.lang.Class<?> clazz) |
FsmLogger |
FsmLoggerFactory.getLogger(java.lang.Class<?> clazz)
Get logger for a specific class.
|
FsmLogger |
BasicLoggerFactory.getLogger(java.lang.Class<?> clazz) |
FsmLogger |
JavaLoggerFactory.getLogger(java.lang.Class<?> clazz) |
FsmLogger |
StdStreamLoggerFactory.getLogger(java.lang.Class<?> clazz) |
FsmLogger |
NoLoggerFactory.getLogger(java.lang.Class<?> clazz,
java.lang.String instance) |
FsmLogger |
FsmLoggerFactory.getLogger(java.lang.Class<?> clazz,
java.lang.String instance)
Get logger for a specific class and instance.
|
FsmLogger |
BasicLoggerFactory.getLogger(java.lang.Class<?> clazz,
java.lang.String instance) |
FsmLogger |
JavaLoggerFactory.getLogger(java.lang.Class<?> clazz,
java.lang.String instance) |
FsmLogger |
StdStreamLoggerFactory.getLogger(java.lang.Class<?> clazz,
java.lang.String instance) |
FsmLogger |
NoLoggerFactory.getLogger(java.lang.String name) |
FsmLogger |
FsmLoggerFactory.getLogger(java.lang.String name)
Get logger for a specific logger with name.
|
FsmLogger |
BasicLoggerFactory.getLogger(java.lang.String name) |
FsmLogger |
JavaLoggerFactory.getLogger(java.lang.String name) |
FsmLogger |
StdStreamLoggerFactory.getLogger(java.lang.String name) |
Modifier and Type | Field and Description |
---|---|
private static FsmLogger |
Parser.logger
The logger.
|
private static FsmLogger |
CodeGenerator.logger
The logger.
|
Copyright 2013 Michal Turek, AnotherFSM.