|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.guiceyfruit.support.PreDestroyer
public class PreDestroyer
A class which is stored in a scope which is then used to close any objects in the same scope which have a shut down hook associated with them (such as @PreDestroy from JSR 250)
Constructor Summary | |
---|---|
PreDestroyer()
|
Method Summary | |
---|---|
void |
addCloseTask(CloseTask closer)
|
void |
close()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PreDestroyer()
Method Detail |
---|
public void addCloseTask(CloseTask closer)
public void close() throws CloseFailedException
CloseFailedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |