KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > lutris > appserver > server > sql > oracle > OracleObjectIdAllocator


1 /*
2  * Enhydra Java Application Server Project
3  *
4  * The contents of this file are subject to the Enhydra Public License
5  * Version 1.1 (the "License"); you may not use this file except in
6  * compliance with the License. You may obtain a copy of the License on
7  * the Enhydra web site ( http://www.enhydra.org/ ).
8  *
9  * Software distributed under the License is distributed on an "AS IS"
10  * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
11  * the License for the specific terms governing rights and limitations
12  * under the License.
13  *
14  * The Initial Developer of the Enhydra Application Server is Lutris
15  * Technologies, Inc. The Enhydra Application Server and portions created
16  * by Lutris Technologies, Inc. are Copyright Lutris Technologies, Inc.
17  * All Rights Reserved.
18  *
19  * Contributor(s):
20  *
21  * $Id: OracleObjectIdAllocator.java,v 1.1 2004/09/03 13:42:52 sinisa Exp $
22  */

23 package com.lutris.appserver.server.sql.oracle;
24
25 import com.lutris.appserver.server.sql.LogicalDatabase;
26 import com.lutris.appserver.server.sql.standard.StandardObjectIdAllocator;
27 import com.lutris.util.Config;
28 import com.lutris.util.ConfigException;
29
30 /**
31  * An Oracle database object id allocator used by the Oracle logical
32  * database.
33  *
34  * @see StandardObjectIdAllocator
35  * @author Paul Morgan
36  * @since LBS1.8
37  * @version $Revision: 1.1 $
38  */

39 public class OracleObjectIdAllocator extends StandardObjectIdAllocator {
40
41     /**
42      * Initialize the object id manager.
43      *
44      * @see StandardObjectIdAllocator#StandardObjectIdAllocator
45      * @param logicalDatabase
46      * The logical database that this object id allocator is associated
47      * with.
48      * @param objIdConfig
49      * The configuration object.
50      * @exception ConfigException
51      * if bad configuration information is given in the config file.
52      */

53     protected OracleObjectIdAllocator(LogicalDatabase logicalDatabase,
54             Config objIdConfig)
55         throws ConfigException {
56         super(logicalDatabase, objIdConfig);
57     }
58 }
59
Popular Tags