|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object janus.sap.SapJanus.Handle
protected static class SapJanus.Handle
Unterklasse zur Verwaltung der Connections
Constructor Summary | |
---|---|
SapJanus.Handle(Connection conn)
Konstruktor mit Connection |
|
SapJanus.Handle(String poolname)
Konstruktor mit Pool-Name |
Method Summary | |
---|---|
Connection |
getConnection()
Ermittle die Verbindung oder hole eine neue aus dem Pool. |
int |
getId()
|
ConnectionPool |
getPool()
|
int |
hashCode()
|
void |
release()
Gebe das Handle vorübergehend wieder frei. |
void |
release(boolean disconnect,
boolean remove)
Gebe das Handle wieder frei. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SapJanus.Handle(Connection conn)
public SapJanus.Handle(String poolname)
Method Detail |
---|
public Connection getConnection() throws CommException
CommException
public int getId()
public ConnectionPool getPool()
public int hashCode()
hashCode
in class Object
Object.hashCode()
public void release()
public void release(boolean disconnect, boolean remove)
disconnect
- Bei true
wird die Verbindung
endgütig freigegeben.remove
- Bei true
wird das Handle
aus der Map entfernt.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |