public void kill() {
   synchronized (lifecycleLock) {
     fireLifecycleEvent(SHUTTING_DOWN);
     FactoryImpl.kill(factory);
     fireLifecycleEvent(SHUTDOWN);
   }
 }
 public void shutdown() {
   synchronized (lifecycleLock) {
     fireLifecycleEvent(SHUTTING_DOWN);
     FactoryImpl.shutdown(factory);
     fireLifecycleEvent(SHUTDOWN);
   }
 }