01: /*
02: * JBoss, Home of Professional Open Source.
03: * Copyright 2006, Red Hat Middleware LLC, and individual contributors
04: * as indicated by the @author tags. See the copyright.txt file in the
05: * distribution for a full listing of individual contributors.
06: *
07: * This is free software; you can redistribute it and/or modify it
08: * under the terms of the GNU Lesser General Public License as
09: * 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 57209 2006-09-26 12:21:57Z dimitris@jboss.org $
44: */
45:
46: // standard imports
47: import java.util.Iterator;
48:
49: // non-standard class dependencies
50: import org.gjt.lindfors.pattern.Strategy;
51:
52: import org.jboss.metadata.EntityMetaData;
53: import org.jboss.metadata.MessageDrivenMetaData;
54: import org.jboss.metadata.SessionMetaData;
55:
56: /**
57: * @author <a href="mailto:juha.lindfors@jboss.org">Juha Lindfors</a>
58: * @version $Revision: 57209 $
59: * @since JDK 1.3
60: */
61: public interface VerificationStrategy extends Strategy {
62: /**
63: * Does the entity check
64: */
65: abstract void checkEntity(EntityMetaData entity);
66:
67: /**
68: * Checks the session
69: */
70: abstract void checkSession(SessionMetaData session);
71:
72: /**
73: * Checks the message driven beans (EJB 2.0 only).
74: */
75: abstract void checkMessageBean(MessageDrivenMetaData message);
76: }
77: /*
78: vim:ts=3:sw=3:et
79: */
|