01: /**
02: * EasyBeans
03: * Copyright (C) 2006 Bull S.A.S.
04: * Contact: easybeans@ow2.org
05: *
06: * This library is free software; you can redistribute it and/or
07: * modify it under the terms of the GNU Lesser General Public
08: * License as published by the Free Software Foundation; either
09: * version 2.1 of the License, or any later version.
10: *
11: * This library is distributed in the hope that it will be useful,
12: * but WITHOUT ANY WARRANTY; without even the implied warranty of
13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14: * Lesser General Public License for more details.
15: *
16: * You should have received a copy of the GNU Lesser General Public
17: * License along with this library; if not, write to the Free Software
18: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
19: * USA
20: *
21: * --------------------------------------------------------------------------
22: * $Id: ItfCMTDeployDesc.java 1970 2007-10-16 11:49:25Z benoitf $
23: * --------------------------------------------------------------------------
24: */package org.ow2.easybeans.tests.common.ejbs.stateful.containermanaged.xmldescriptor;
25:
26: /**
27: * Verifies if the CMT can be defined by deployment descriptor.
28: * @author Gisele Pinheiro Souza
29: * @author Eduardo Studzinski Estima de Castro
30: *
31: */
32: public interface ItfCMTDeployDesc {
33:
34: /**
35: * Inserts a table the database. The transaction attribute is defined in the
36: * deployment descriptor.
37: * @param dbName is the name of the database in the registry.
38: * @param tableName is the table name.
39: * @throws Exception if an error occurs.
40: */
41: void insertTable01(final String dbName, final String tableName)
42: throws Exception;
43:
44: /**
45: * Inserts a table the database. The transaction attribute is defined in the
46: * deployment descriptor.
47: * @param dbName is the name of the database in the registry.
48: * @param tableName is the table name.
49: * @throws Exception if an error occurs.
50: */
51: void insertTable02(final String dbName, final String tableName)
52: throws Exception;
53:
54: /**
55: * Inserts a table the database. The transaction attribute is defined in the
56: * deployment descriptor.
57: * @param dbName is the name of the database in the registry.
58: * @param tableName is the table name.
59: * @param dummy is used to provide two methods with the same name.
60: * @throws Exception if an error occurs.
61: */
62: void insertTable02(final String dbName, final String tableName,
63: final int dummy) throws Exception;
64:
65: /**
66: * Inserts a table the database. The transaction attribute is defined in the
67: * deployment descriptor.
68: * @param dbName is the name of the database in the registry.
69: * @param tableName is the table name.
70: * @throws Exception if an error occurs.
71: */
72: void insertTable03(final String dbName, final String tableName)
73: throws Exception;
74:
75: /**
76: * Inserts a table the database. The transaction attribute is defined in the
77: * deployment descriptor.
78: * @param dbName is the name of the database in the registry.
79: * @param tableName is the table name.
80: * @param dummy is used to provide two methods with the same name.
81: * @throws Exception if an error occurs.
82: */
83: void insertTable03(final String dbName, final String tableName,
84: final int dummy) throws Exception;
85:
86: }
|