KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > enterprise > connectors > util > MCFConfigParser


1
2 /*
3  * The contents of this file are subject to the terms
4  * of the Common Development and Distribution License
5  * (the License). You may not use this file except in
6  * compliance with the License.
7  *
8  * You can obtain a copy of the license at
9  * https://glassfish.dev.java.net/public/CDDLv1.0.html or
10  * glassfish/bootstrap/legal/CDDLv1.0.txt.
11  * See the License for the specific language governing
12  * permissions and limitations under the License.
13  *
14  * When distributing Covered Code, include this CDDL
15  * Header Notice in each file and include the License file
16  * at glassfish/bootstrap/legal/CDDLv1.0.txt.
17  * If applicable, add the following below the CDDL Header,
18  * with the fields enclosed by brackets [] replaced by
19  * you own identifying information:
20  * "Portions Copyrighted [year] [name of copyright owner]"
21  *
22  * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
23  */

24
25 package com.sun.enterprise.connectors.util;
26
27 import com.sun.enterprise.connectors.*;
28 import com.sun.enterprise.deployment.*;
29
30 /** Interface class of managed connection factory parser methods.
31  * @author Srikanth P
32  */

33
34
35 public interface MCFConfigParser extends ConnectorConfigParser {
36
37
38     /**
39      * Obtains the connection definition names of a given rar.
40      * @param desc ConnectorDescriptor pertaining to rar.
41      * @return Array of connection definiton names as strings
42      * @throws ConnectorRuntimeException If rar is not exploded or
43      * incorrect ra.xml
44      */

45
46     public String JavaDoc[] getConnectionDefinitionNames(ConnectorDescriptor desc)
47                       throws ConnectorRuntimeException;
48 }
49
Popular Tags