diff options
author | Matthew Newhook <matthew@zeroc.com> | 2008-08-22 11:34:11 -0230 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2008-08-22 11:34:11 -0230 |
commit | b6477cc39b9fc204c9bd960ce893dfaed32c8d47 (patch) | |
tree | 5d95b60d462fb21da2b32c51f60b4c6884d21640 /java/demo/Database/library/SessionSQLRequestContext.java | |
parent | more fixes to JDBC demo (diff) | |
download | ice-b6477cc39b9fc204c9bd960ce893dfaed32c8d47.tar.bz2 ice-b6477cc39b9fc204c9bd960ce893dfaed32c8d47.tar.xz ice-b6477cc39b9fc204c9bd960ce893dfaed32c8d47.zip |
Moved to using a dispatch interceptor model.
Diffstat (limited to 'java/demo/Database/library/SessionSQLRequestContext.java')
-rw-r--r-- | java/demo/Database/library/SessionSQLRequestContext.java | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/java/demo/Database/library/SessionSQLRequestContext.java b/java/demo/Database/library/SessionSQLRequestContext.java new file mode 100644 index 00000000000..799ce4a92f6 --- /dev/null +++ b/java/demo/Database/library/SessionSQLRequestContext.java @@ -0,0 +1,24 @@ +// ********************************************************************** +// +// Copyright (c) 2003-2008 ZeroC, Inc. All rights reserved. +// +// This copy of Ice is licensed to you under the terms described in the +// ICE_LICENSE file included in this distribution. +// +// ********************************************************************** + +class SessionSQLRequestContext extends SQLRequestContext +{ + SessionSQLRequestContext(SessionI session, Ice.Logger logger, ConnectionPool pool) + { + super(logger, pool); + _session = session; + } + + SessionI getSession() + { + return _session; + } + + private SessionI _session; +} |