|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.guiceyfruit.spring.support.DisposableBeanCloser
public class DisposableBeanCloser
A Closer
which detects the Spring DisposableBean
interface and invokes the DisposableBean.destroy()
method when a scope is closed.
Constructor Summary | |
---|---|
DisposableBeanCloser()
|
Method Summary | |
---|---|
void |
close(java.lang.Object object)
Closes the given object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DisposableBeanCloser()
Method Detail |
---|
public void close(java.lang.Object object) throws java.lang.Throwable
Closer
close
in interface Closer
object
- the object to be closed
java.lang.Exception
- if the close operation caused some exception to occur
java.lang.Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |