public class SimpleMessageSourceMetrics extends Object implements org.aopalliance.intercept.MethodInterceptor, MessageSourceMetrics
| Constructor and Description |
|---|
SimpleMessageSourceMetrics(MessageSource<?> messageSource) |
| Modifier and Type | Method and Description |
|---|---|
int |
getMessageCount() |
MessageSource<?> |
getMessageSource() |
String |
getName() |
String |
getSource() |
Object |
invoke(org.aopalliance.intercept.MethodInvocation invocation) |
void |
reset() |
void |
setName(String name) |
void |
setSource(String source) |
String |
toString() |
public SimpleMessageSourceMetrics(MessageSource<?> messageSource)
public void setName(String name)
public String getName()
getName in interface MessageSourceMetricspublic void setSource(String source)
public String getSource()
getSource in interface MessageSourceMetricspublic MessageSource<?> getMessageSource()
public void reset()
reset in interface MessageSourceMetricspublic int getMessageCount()
getMessageCount in interface MessageSourceMetricspublic Object invoke(org.aopalliance.intercept.MethodInvocation invocation) throws Throwable
invoke in interface org.aopalliance.intercept.MethodInterceptorThrowable