| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private final String | |
| private static final String | |
| private final String | |
| private final MessageFactory | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | DefaultFlowMessageFactory()
Constructs a message factory with |
| public | DefaultFlowMessageFactory(final String
the text to use for trace entry, like entryText, final String "Enter".the text to use for trace exit, like exitText)"Exit".Constructs a message factory with the given entry and exit strings. |
| Modifier and Type | Method and Description |
|---|---|
| private static MessageFactory | |
| public String | |
| public String | |
| private Message | |
| public EntryMessage | newEntryMessage(final String
format string format, final Object... parameters params)Implements org. Creates a new entry message based on a format string with parameters. |
| public EntryMessage | newEntryMessage(final Message
the original message message)Implements org. Creates a new entry message based on an existing message. |
| public ExitMessage | newExitMessage(final String
a format string format, final Object the return value result)Implements org. Creates a new exit message based on a return value and a forma string. |
| public ExitMessage | newExitMessage(Message
the original entry message message)Implements org. Creates a new exit message based on no return value and an existing message. |
| public ExitMessage | newExitMessage(final EntryMessage
the original entry message message)Implements org. Creates a new exit message based on no return value and an existing entry message. |
| public ExitMessage | newExitMessage(final Object
the return value. result, final EntryMessage the original entry message message)Implements org. Creates a new exit message based on a return value and an existing entry message. |
| public ExitMessage | newExitMessage(final Object
the return value. result, final Message the original message message)Implements org. Creates a new exit message based on a return value and an existing message. |
| ENTRY_DEFAULT_PREFIX | back to summary |
|---|---|
| private static final String ENTRY_DEFAULT_PREFIX | |
| entryText | back to summary |
|---|---|
| private final String entryText | |
| EXIT_DEFAULT_PREFIX | back to summary |
|---|---|
| private static final String EXIT_DEFAULT_PREFIX | |
| exitText | back to summary |
|---|---|
| private final String exitText | |
| messageFactory | back to summary |
|---|---|
| private final MessageFactory messageFactory | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| DefaultFlowMessageFactory | back to summary |
|---|---|
| public DefaultFlowMessageFactory() Constructs a message factory with | |
| DefaultFlowMessageFactory | back to summary |
|---|---|
| public DefaultFlowMessageFactory(final String entryText, final String exitText) Constructs a message factory with the given entry and exit strings. | |
| createDefaultMessageFactory | back to summary |
|---|---|
| private static MessageFactory createDefaultMessageFactory() | |
| getEntryText | back to summary |
|---|---|
| public String getEntryText() Gets the entry text.
| |
| getExitText | back to summary |
|---|---|
| public String getExitText() Gets the exit text.
| |
| makeImmutable | back to summary |
|---|---|
| private Message makeImmutable(final Message message) | |
| newEntryMessage | back to summary |
|---|---|
| public EntryMessage newEntryMessage(final String format, final Object... params) Implements org. Doc from org. Creates a new entry message based on a format string with parameters.
| |
| newEntryMessage | back to summary |
|---|---|
| public EntryMessage newEntryMessage(final Message message) Implements org. Doc from org. Creates a new entry message based on an existing message.
| |
| newExitMessage | back to summary |
|---|---|
| public ExitMessage newExitMessage(final String format, final Object result) Implements org. Doc from org. Creates a new exit message based on a return value and a forma string.
| |
| newExitMessage | back to summary |
|---|---|
| public ExitMessage newExitMessage(Message message) Implements org. Doc from org. Creates a new exit message based on no return value and an existing message.
| |
| newExitMessage | back to summary |
|---|---|
| public ExitMessage newExitMessage(final EntryMessage message) Implements org. Doc from org. Creates a new exit message based on no return value and an existing entry message.
| |
| newExitMessage | back to summary |
|---|---|
| public ExitMessage newExitMessage(final Object result, final EntryMessage message) Implements org. Doc from org. Creates a new exit message based on a return value and an existing entry message.
| |
| newExitMessage | back to summary |
|---|---|
| public ExitMessage newExitMessage(final Object result, final Message message) Implements org. Doc from org. Creates a new exit message based on a return value and an existing message.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final Message | |
| private static final long | |
| private final String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | formatTo(final StringBuilder
the StringBuilder to write into buffer)Implements org. Writes a text representation of this object into the specified |
| public String | getFormat()
Implements org. Gets the format portion of the Message. |
| public String | getFormattedMessage()
Implements org. Gets the Message formatted as a String. |
| public Message | |
| public Object[] | getParameters()
Implements org. Gets parameter values, if any. |
| public String | getText()
Implements org. The message text like "Enter" or "Exit" used to prefix the actual Message. |
| public Throwable | getThrowable()
Implements org. Gets the throwable, if any. |
| message | back to summary |
|---|---|
| private final Message message | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| text | back to summary |
|---|---|
| private final String text | |
| AbstractFlowMessage | back to summary |
|---|---|
| pack-priv AbstractFlowMessage(final String text, final Message message) | |
| formatTo | back to summary |
|---|---|
| public void formatTo(final StringBuilder buffer) Implements org. Doc from org. Writes a text representation of this object into the specified
| |
| getFormat | back to summary |
|---|---|
| public String getFormat() Implements org. Doc from org. Gets the format portion of the Message.
| |
| getFormattedMessage | back to summary |
|---|---|
| public String getFormattedMessage() Implements org. Doc from org. Gets the Message formatted as a String. Each Message implementation determines the appropriate way to format the data encapsulated in the Message. Messages that provide more than one way of formatting the Message will implement MultiformatMessage.
When configured to log asynchronously, this method is called before the Message is queued, unless this
message implements
When logging synchronously, this method will not be called for Messages that implement the
| |
| getMessage | back to summary |
|---|---|
| public Message getMessage() Implements org. Doc from org. The wrapped message | |
| getParameters | back to summary |
|---|---|
| public Object[] getParameters() Implements org. Doc from org. Gets parameter values, if any. | |
| getText | back to summary |
|---|---|
| public String getText() Implements org. Doc from org. The message text like "Enter" or "Exit" used to prefix the actual Message. | |
| getThrowable | back to summary |
|---|---|
| public Throwable getThrowable() Implements org. Doc from org. Gets the throwable, if any. | |
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides org. | |
| SimpleEntryMessage | back to summary |
|---|---|
| pack-priv SimpleEntryMessage(final String entryText, final Message message) | |
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final Object | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv | |
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public String | getFormattedMessage()
Overrides org. Implements org. Gets the Message formatted as a String. |
| isVoid | back to summary |
|---|---|
| private final boolean isVoid | |
| result | back to summary |
|---|---|
| private final Object result | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides org. | |
| SimpleExitMessage | back to summary |
|---|---|
| pack-priv SimpleExitMessage(final String exitText, final EntryMessage message) | |
| SimpleExitMessage | back to summary |
|---|---|
| pack-priv SimpleExitMessage(final String exitText, final Message message) | |
| SimpleExitMessage | back to summary |
|---|---|
| pack-priv SimpleExitMessage(final String exitText, final Object result, final EntryMessage message) | |
| SimpleExitMessage | back to summary |
|---|---|
| pack-priv SimpleExitMessage(final String exitText, final Object result, final Message message) | |
| getFormattedMessage | back to summary |
|---|---|
| public String getFormattedMessage() Overrides org. Implements org. Doc from org. Gets the Message formatted as a String. Each Message implementation determines the appropriate way to format the data encapsulated in the Message. Messages that provide more than one way of formatting the Message will implement MultiformatMessage.
When configured to log asynchronously, this method is called before the Message is queued, unless this
message implements
When logging synchronously, this method will not be called for Messages that implement the
| |