public void deactivate(){
  stop();
  destroy();
  if (!runManaged) {
    System.exit(0);
  }
}

public void deactivate ( ) { stop ( ) ; destroy ( ) ; if ( ! runManaged ) { System . exit ( 0 ) ; } }
a convenience method to stop and destroy the daemon in one shot .
