コード例 #1
0
 public void kill() {
   synchronized (lifecycleLock) {
     fireLifecycleEvent(SHUTTING_DOWN);
     FactoryImpl.kill(factory);
     fireLifecycleEvent(SHUTDOWN);
   }
 }
コード例 #2
0
 public void shutdown() {
   synchronized (lifecycleLock) {
     fireLifecycleEvent(SHUTTING_DOWN);
     FactoryImpl.shutdown(factory);
     fireLifecycleEvent(SHUTDOWN);
   }
 }