KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > openccm > pss > runtime > common > api > CatalogBase


1 /*====================================================================
2
3 OpenCCM: The Open CORBA Component Model Platform
4 Copyright (C) 2000-2004 INRIA & USTL - LIFL - GOAL
5 Contact: openccm@objectweb.org
6
7 This library is free software; you can redistribute it and/or
8 modify it under the terms of the GNU Lesser General Public
9 License as published by the Free Software Foundation; either
10 version 2.1 of the License, or any later version.
11
12 This library is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 Lesser General Public License for more details.
16
17 You should have received a copy of the GNU Lesser General Public
18 License along with this library; if not, write to the Free Software
19 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
20 USA
21
22 Initial developer(s): Christophe Demarey.
23 Contributor(s): ______________________________________.
24
25 ====================================================================*/

26
27 package org.objectweb.openccm.pss.runtime.common.api;
28
29
30 /**
31  * Catalog is a base interface for Catalogs.
32  *
33  * @author <a HREF="mailto:Christophe.Demarey@lifl.fr">Christophe Demarey</a>
34  *
35  * @version 0.1
36  */

37
38 public interface CatalogBase
39          extends org.omg.CosPersistentState.CatalogBase
40 {
41     /**
42      * Set the reference to the connector.
43      *
44      * @param connector - The connector to set.
45      */

46     public void
47     set_connector(org.objectweb.openccm.pss.runtime.common.api.Connector connector);
48
49     /**
50      * Get the reference to the connector.
51      *
52      * @return The associated connector.
53      */

54     public org.objectweb.openccm.pss.runtime.common.api.Connector
55     get_connector();
56
57     /**
58      * Get the catalog ID.
59      *
60      * @return The associated ID.
61      */

62     public int
63     get_id();
64     
65     /**
66      * Register a storage home.
67      *
68      * @param storage_home_id - The storage home id.
69      * @param storage_home - The binding class.
70      */

71     public void
72     register_storage_home_incarnation(String JavaDoc storage_home_id,
73                                       org.omg.CosPersistentState.StorageHomeBase storage_home);
74
75     /**
76      * Create a new storage_object incarnation.
77      *
78      * @param storage_type_id - The storage type id.
79      *
80      * @return A new storage object instance.
81      */

82     public org.objectweb.openccm.pss.runtime.common.api.StorageObject
83     create_storage_object(String JavaDoc storage_type_id)
84     throws org.omg.CosPersistentState.NotFound;
85 }
86
Popular Tags