From b6477cc39b9fc204c9bd960ce893dfaed32c8d47 Mon Sep 17 00:00:00 2001 From: Matthew Newhook Date: Fri, 22 Aug 2008 11:34:11 -0230 Subject: Moved to using a dispatch interceptor model. --- .../Database/library/SessionSQLRequestContext.java | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 java/demo/Database/library/SessionSQLRequestContext.java (limited to 'java/demo/Database/library/SessionSQLRequestContext.java') 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; +} -- cgit v1.2.3