01: /**
02: *
03: */package clime.messadmin.providers.sizeof;
04:
05: import clime.messadmin.providers.spi.SizeOfProvider;
06:
07: /**
08: * @author Cédrik LIME
09: */
10: public class ObjectProfilerProvider implements SizeOfProvider {
11:
12: /**
13: *
14: */
15: public ObjectProfilerProvider() {
16: super ();
17: }
18:
19: /**
20: * {@inheritDoc}
21: */
22: public int getPriority() {
23: return 0;
24: }
25:
26: /**
27: * {@inheritDoc}
28: */
29: public long sizeof(Object objectToSize) {
30: return ObjectProfiler.sizeof(objectToSize);
31: }
32:
33: }
|