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