KickJava   Java API By Example, From Geeks To Geeks.

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


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.VerificationStrategy
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: VerificationStrategy.java 37459 2005-10-30 00:04:02Z starksm $
44  */

45
46
47 // standard imports
48
import java.util.Iterator JavaDoc;
49
50 // non-standard class dependencies
51
import org.gjt.lindfors.pattern.Strategy;
52
53 import org.jboss.metadata.EntityMetaData;
54 import org.jboss.metadata.MessageDrivenMetaData;
55 import org.jboss.metadata.SessionMetaData;
56
57 /**
58  * @author <a HREF="mailto:juha.lindfors@jboss.org">Juha Lindfors</a>
59  * @version $Revision: 37459 $
60  * @since JDK 1.3
61  */

62 public interface VerificationStrategy
63    extends Strategy
64 {
65    /**
66     * Does the entity check
67     */

68    abstract void checkEntity( EntityMetaData entity );
69
70    /**
71     * Checks the session
72     */

73    abstract void checkSession( SessionMetaData session );
74
75    /**
76     * Checks the message driven beans (EJB 2.0 only).
77     */

78    abstract void checkMessageBean( MessageDrivenMetaData message );
79 }
80 /*
81 vim:ts=3:sw=3:et
82 */

83
Popular Tags