portal.services.monitor.sp
Class MonitorServiceImpl

java.lang.Object
  extended byportal.services.monitor.sp.MonitorServiceImpl
All Implemented Interfaces:
IMonitorService, IService

public class MonitorServiceImpl
extends java.lang.Object
implements IMonitorService


Constructor Summary
MonitorServiceImpl(java.lang.String namespace)
           
 
Method Summary
 java.lang.Object monitor(java.lang.Object pTarget, java.lang.Class pInterface, java.lang.String pName)
          Create an object implementing pInterface that times and logs calls to the real implementation given by pTarget.
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MonitorServiceImpl

public MonitorServiceImpl(java.lang.String namespace)
Method Detail

monitor

public java.lang.Object monitor(java.lang.Object pTarget,
                                java.lang.Class pInterface,
                                java.lang.String pName)
Description copied from interface: IMonitorService
Create an object implementing pInterface that times and logs calls to the real implementation given by pTarget. Timings will be logged with pName.

Specified by:
monitor in interface IMonitorService
Parameters:
pTarget - The implementation class to monitor
pInterface - The interface implemented by pTarget
pName - The name to use in logging
Returns:

stop

public void stop()

start

public void start()