🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #1261

Re: [java] bij exit een functie aanroepen

#1261
From: Philip Paeps
Date: Tue, 07 Jun 2005 20:30
15 lines
1463 bytes
Bart Ameloot <orion_@pandora.BLAH> wrote:
> Is het mogelijk dat als het programma wordt afgesloten dat er dan nog een
> functie wordt aangeroepen?

Kijk even naar de API documentatie over addShutdownHook()

  <http://java.sun.com/j2se/1.3/docs/api/java/lang/Runtime.html#addShutdownHook(java.lang.Thread)>

 - Philip

-- 
Philip Paeps                              Please don't email any replies
philip@paeps.cx                               I follow the newsgroup.

  Your password is pitifully obvious.
Technical Details
Message-ID: <slrndac0uv.m3.philip+usenet@fasolt.home.paeps.cx>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news.tele.dk!dotsrc.org!news.dotsrc.org!not-for-mail
References: <C_dpe.113020$To5.6681650@phobos.telenet-ops.be>

Show Full Headers
Complete Article Headers
X-Google-Thread: fcea4,75f5435a4efa2997
X-Google-Attributes: gidfcea4,public
X-Google-Language: DUTCH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news.tele.dk!dotsrc.org!news.dotsrc.org!not-for-mail
Newsgroups: be.comp.programming
From: Philip Paeps <philip+usenet@paeps.cx>
Subject: Re: [java] bij exit een functie aanroepen
References: <C_dpe.113020$To5.6681650@phobos.telenet-ops.be>
Organization: Happily Disorganized
X-PGP-Fingerprint: FA74 3C27 91A6 79D5 F6D3  FC53 BF4B D0E6 049D B879
X-Date-in-Rome: ante diem VII Idius Iunias MMDCCLVIII ab Urbe Condida
Message-ID: <slrndac0uv.m3.philip+usenet@fasolt.home.paeps.cx>
User-Agent: slrn/0.9.8.1 (FreeBSD)
Date: 07 Jun 2005 20:30:23 GMT
Lines: 15
NNTP-Posting-Host: 213.118.102.166
X-Trace: news.sunsite.dk DXC=m7=U1B@MFEi]OI4DlPLEfeYSB=nbEKnkkcfMJI:?ic2k9U;h4\3F?GgiM[k@0X\k?nc7MKXFi2^]olKk;CYU5F>`Z9J8@WIQJ0n
X-Complaints-To: staff@sunsite.dk