Source code: org/apache/derby/iapi/sql/depend/ProviderList.java
1 /*
2
3 Derby - Class org.apache.derby.iapi.sql.depend.ProviderList
4
5 Copyright 1999, 2005 The Apache Software Foundation or its licensors, as applicable.
6
7 Licensed under the Apache License, Version 2.0 (the "License");
8 you may not use this file except in compliance with the License.
9 You may obtain a copy of the License at
10
11 http://www.apache.org/licenses/LICENSE-2.0
12
13 Unless required by applicable law or agreed to in writing, software
14 distributed under the License is distributed on an "AS IS" BASIS,
15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 See the License for the specific language governing permissions and
17 limitations under the License.
18
19 */
20
21 package org.apache.derby.iapi.sql.depend;
22
23 import java.util.Hashtable;
24
25 /**
26 * ProviderList is a list of Providers that is being
27 * tracked for some object other than the current dependent.
28 */
29
30 public class ProviderList extends Hashtable
31 {
32 /**
33 * Add a Provider to the list.
34 *
35 * @param prov The Provider to add to the list.
36 *
37 * @return Nothing.
38 */
39 public void addProvider(Provider prov)
40 {
41 put (prov.getObjectID(), prov);
42 }
43 }