@Dependent public class MessageFormatter extends Object
Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
LOG
Static Logger.
|
Constructor and Description |
---|
MessageFormatter() |
Modifier and Type | Method and Description |
---|---|
String |
format(String template,
String param)
Service in charge of formatting a template message.
|
(package private) void |
initBean()
Method called by the CDI container when the bean is retrieved from
BeanManager . |
(package private) void |
tearDown()
Method called by the CDI container before the destruction of the bean from the
BeanManager . |
@PostConstruct void initBean()
BeanManager
. See the JSR 250 Callback PostConstruct
annotation.@PreDestroy void tearDown()
BeanManager
. See the JSR 250 Callback PreDestroy
annotation.Copyright © 2014 SYDISNET. All rights reserved.