author | Jaroslav Tulach <jtulach@netbeans.org> |
Sat, 14 Jun 2008 09:54:22 +0200 | |
changeset 101 | c27834b52df0 |
child 201 | 784b78c2436f |
permissions | -rw-r--r-- |
jtulach@101 | 1 |
package org.apidesign.misuse; |
jtulach@101 | 2 |
|
jtulach@101 | 3 |
// BEGIN: misuse.Connection |
jtulach@101 | 4 |
public interface Connection { |
jtulach@101 | 5 |
Savepoint setSavepoint(); |
jtulach@101 | 6 |
|
jtulach@101 | 7 |
public interface Savepoint { |
jtulach@101 | 8 |
void rollback(); |
jtulach@101 | 9 |
// and other useful operations |
jtulach@101 | 10 |
} |
jtulach@101 | 11 |
} |
jtulach@101 | 12 |
// END: misuse.Connection |