KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > ch > ethz > prose > crosscut > CrosscutRequest


1 //
2
// This file is part of the prose package.
3
//
4
// The contents of this file are subject to the Mozilla Public License
5
// Version 1.1 (the "License"); you may not use this file except in
6
// compliance with the License. You may obtain a copy of the License at
7
// http://www.mozilla.org/MPL/
8
//
9
// Software distributed under the License is distributed on an "AS IS" basis,
10
// WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11
// for the specific language governing rights and limitations under the
12
// License.
13
//
14
// The Original Code is prose.
15
//
16
// The Initial Developer of the Original Code is Andrei Popovici. Portions
17
// created by Andrei Popovici are Copyright (C) 2002 Andrei Popovici.
18
// All Rights Reserved.
19
//
20
// Contributor(s):
21
// $Id: CrosscutRequest.java,v 1.1.1.1 2003/07/02 15:30:51 apopovic Exp $
22
// =====================================================================
23
//
24
// (history at end)
25
//
26

27 package ch.ethz.prose.crosscut;
28
29 // used packages
30
import java.util.Vector JavaDoc;
31
32 import ch.ethz.prose.engine.JoinPointRequest;
33
34 /**
35  * Class CrosscutRequest embodies several join point specifications in form
36  * of EventRequests. All elements of a CrosscutRequests are EventRequest
37  * objects.
38  *
39  * @version $Revision: 1.1.1.1 $
40  * @author Andrei Popovici
41  */

42 public
43 class CrosscutRequest extends Vector JavaDoc {
44
45 public static String JavaDoc CROSSCUT= "crosscutRequest";
46
47
48     /** Add the specified <code>eventRequest</code> to this CrosscutRequest.
49      * This method overrides the default implementation in <code>AbstractCollection</code>.
50      * If <code>eventRequest<code> does not implement the <code>JoinPointRequest</code>
51      * interface, a <code>ClassCastException</code> will be thrown. No <code>null</code>
52      * elements are allowed.
53      *
54      * @param eventRequest the eventRequest to be added
55      */

56     public boolean add(Object JavaDoc eventRequest)
57     throws ClassCastException JavaDoc,
58            UnsupportedOperationException JavaDoc,
59            NullPointerException JavaDoc,
60     IllegalArgumentException JavaDoc
61     {
62     return super.add((JoinPointRequest)eventRequest);
63     }
64
65
66
67
68
69 }
70
71
72 //======================================================================
73
//
74
// $Log: CrosscutRequest.java,v $
75
// Revision 1.1.1.1 2003/07/02 15:30:51 apopovic
76
// Imported from ETH Zurich
77
//
78
// Revision 1.1 2003/05/05 13:58:11 popovici
79
// renaming from runes to prose
80
//
81
// Revision 1.3 2003/03/04 18:36:34 popovici
82
// Organization of imprts
83
//
84
// Revision 1.2 2002/03/28 13:48:42 popovici
85
// Mozilla-ified
86
//
87
// Revision 1.1.1.1 2001/11/29 18:13:17 popovici
88
// Sources from runes
89
//
90
// Revision 1.1.2.1 2000/10/23 18:30:40 popovici
91
// Moved from ch.ethz.prose to ch.ethz.prose.crosscut;
92
//
93
// Revision 1.1.2.1 2000/10/16 15:29:06 popovici
94
// method 'requester' removed; class is not abstract any more
95
//
96
// Revision 1.1 2000/10/16 11:53:22 popovici
97
// Initial Revision
98
//
99
//
100
Popular Tags