Module org.apache.wicket.metrics
Class ComponentOnInitializeAspect
java.lang.Object
org.apache.wicket.metrics.WicketMetrics
org.apache.wicket.metrics.aspects.component.ComponentOnInitializeAspect
Gets information how often different components are initialized
- Author:
- Tobias Soloschenko
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.wicket.metrics.WicketMetrics
WicketMetrics.CounterOperation
-
Field Summary
Fields inherited from class org.apache.wicket.metrics.WicketMetrics
METRIC_REGISTRY, METRIC_SETTINGS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaroundOnInitialize
(org.aspectj.lang.ProceedingJoinPoint joinPoint) Collects data how often components calls onInitializeMethods inherited from class org.apache.wicket.metrics.WicketMetrics
count, getFilterName, getMetricRegistry, getSettings, mark, measureTime, measureTime, renderClassName, setFilterName, stopQuietly
-
Constructor Details
-
ComponentOnInitializeAspect
public ComponentOnInitializeAspect()
-
-
Method Details
-
aroundOnInitialize
Collects data how often components calls onInitialize- Parameters:
joinPoint
- the join point (component) which is initialized- Returns:
- the object returned from the join point
- Throws:
Throwable
- might occur while invoking onInitialize
-