KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > verifier > strategy > VerificationContext


1 /*
2 * JBoss, Home of Professional Open Source
3 * Copyright 2005, JBoss Inc., and individual contributors as indicated
4 * by the @authors tag. See the copyright.txt in the distribution for a
5 * full listing of individual contributors.
6 *
7 * This is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU Lesser General Public License as
9 * published by the Free Software Foundation; either version 2.1 of
10 * the License, or (at your option) any later version.
11 *
12 * This software 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 software; if not, write to the Free
19 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
21 */

22 package org.jboss.verifier.strategy;
23
24 /*
25  * Class org.jboss.verifier.strategy.VerificationContext;
26  * Copyright (C) 2000 Juha Lindfors
27  *
28  * This library is free software; you can redistribute it and/or
29  * modify it under the terms of the GNU Lesser General Public
30  * License as published by the Free Software Foundation; either
31  * version 2 of the License, or (at your option) any later version
32  *
33  * This library is distributed in the hope that it will be useful,
34  * but WITHOUT ANY WARRANTY; without even the implied warranty of
35  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
36  * Lesser General Public License for more details.
37  *
38  * You should have received a copy of the GNU Lesser General Public
39  * License along with this library; if not, write to the Free Software
40  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
41  *
42  * This package and its source code is available at www.jboss.org
43  * $Id: VerificationContext.java 37459 2005-10-30 00:04:02Z starksm $
44  *
45  * You can reach the author by sending email to jplindfo@helsinki.fi.
46  */

47
48 // standard imports
49
import java.net.URL JavaDoc;
50
51 // non-standard class dependencies
52
import org.gjt.lindfors.pattern.StrategyContext;
53
54 import org.jboss.verifier.event.VerificationEventGenerator;
55
56 import org.jboss.metadata.ApplicationMetaData;
57
58 /**
59  * << DESCRIBE THE CLASS HERE >>
60  *
61  * For more detailed documentation, refer to the
62  * <a HREF="" << INSERT DOC LINK HERE >> </a>
63  *
64  * @see << OTHER RELATED CLASSES >>
65  *
66  * @author Juha Lindfors
67  * @version $Revision: 37459 $
68  * @since JDK 1.3
69  */

70 public interface VerificationContext
71    extends StrategyContext, VerificationEventGenerator
72 {
73
74    /*
75     * Version identifier.
76     */

77    public final static String JavaDoc VERSION_1_1 =
78       "Enterprise JavaBeans v1.1, Final Release";
79
80    /*
81     * Version identifier.
82     */

83    public final static String JavaDoc VERSION_2_0 =
84       "Enterprise JavaBeans V2.0, Final Release";
85
86    /*
87     * Version identifier.
88     */

89    public final static String JavaDoc VERSION_2_1 =
90       "Enterprise JavaBeans V2.1, Final Release";
91
92    /*
93     * Returns the loaded and parsed ejb jar file
94     */

95    abstract ApplicationMetaData getApplicationMetaData();
96
97    /*
98     * Returns the location of the ejb jar file
99     */

100    abstract URL JavaDoc getJarLocation();
101
102    /*
103     * Returns the class loader to use for verification (optionally)
104     */

105    abstract ClassLoader JavaDoc getClassLoader();
106
107    /*
108     * Returns EJB spec version string
109     */

110    abstract String JavaDoc getEJBVersion();
111
112 }
113
Popular Tags