|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.melati.poem.transaction.ToTidyList
public class ToTidyList
List of objects which need closing when a Transaction is
terminated.
| Nested Class Summary | |
|---|---|
static interface |
ToTidyList.Closeable
Can be closed. |
| Constructor Summary | |
|---|---|
ToTidyList()
|
|
| Method Summary | |
|---|---|
void |
add(InputStream o)
Add an InputStream to the list. |
void |
add(OutputStream o)
Add an OutputStream to the list. |
void |
add(Reader o)
Add a Reader to the list. |
void |
add(ResultSet o)
Add a ResultSet to the list. |
void |
add(Statement o)
Add a Statement to the list. |
void |
add(ToTidyList.Closeable o)
Add any Closeable to the list. |
void |
add(Writer o)
Add a Writer to the list. |
void |
close()
Close all objects on list. |
Enumeration<Object> |
elements()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ToTidyList()
| Method Detail |
|---|
public void close()
public void add(ResultSet o)
o - the ResultSet to addpublic void add(Statement o)
o - the Statement to addpublic void add(Reader o)
o - the Reader to addpublic void add(Writer o)
o - the Writer to addpublic void add(InputStream o)
o - the InputStream to addpublic void add(OutputStream o)
o - the OutputStream to addpublic void add(ToTidyList.Closeable o)
o - the Closeable to addpublic Enumeration<Object> elements()
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||