@Override ObservedObject createObservedObject(ObjectName object){
  final GaugeMonitorObservedObject gmo=new GaugeMonitorObservedObject(object);
  gmo.setStatus(RISING_OR_FALLING);
  gmo.setPreviousScanGauge(null);
  return gmo;
}

@ Override ObservedObject createObservedObject ( ObjectName object ) { final GaugeMonitorObservedObject gmo = new GaugeMonitorObservedObject ( object ) ; gmo . setStatus ( RISING_OR_FALLING ) ; gmo . setPreviousScanGauge ( null ) ; return gmo ; }
factory method for observedobject creation .
