KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jacorb > notification > interfaces > FilterStage


1 package org.jacorb.notification.interfaces;
2
3 /*
4  * JacORB - a free Java ORB
5  *
6  * Copyright (C) 1999-2004 Gerald Brose
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Library General Public
10  * License as published by the Free Software Foundation; either
11  * version 2 of the License, or (at your option) any later version.
12  *
13  * This library is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16  * Library General Public License for more details.
17  *
18  * You should have received a copy of the GNU Library General Public
19  * License along with this library; if not, write to the Free
20  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21  *
22  */

23
24 import java.util.List JavaDoc;
25
26 import org.omg.CosNotifyFilter.MappingFilter;
27
28 /**
29  * Abstraction of a ProxyConsumer, SupplierAdmin, ConsumerAdmin,
30  * ProxySupplier. This Interface provides uniform access to use
31  * these Classes during processing of a Message.
32  *
33  * @author Alphonse Bendt
34  * @version $Id: FilterStage.java,v 1.8 2004/05/09 19:01:42 alphonse.bendt Exp $
35  */

36
37 public interface FilterStage extends FilterStageSource
38 {
39     /**
40      * check if this FilterStage has been disposed.
41      */

42     boolean isDisposed();
43
44     /**
45      * get Filters associated to this FilterStage.
46      */

47     List JavaDoc getFilters();
48
49     /**
50      * check if this FilterStage has a MessageConsumer associcated.
51      */

52     boolean hasMessageConsumer();
53
54     /**
55      * check if this FilterStage has OR Semantic enabled.
56      */

57     boolean hasInterFilterGroupOperatorOR();
58
59     /**
60      * get the associated MessageConsumer or null.
61      */

62     MessageConsumer getMessageConsumer();
63
64     /**
65      * check if this FilterStage has a LifetimeFilter attached
66      */

67     boolean hasLifetimeFilter();
68
69     /**
70      * check if this FilterStage has a PriorityFilter attached
71      */

72     boolean hasPriorityFilter();
73
74     /**
75      * access the LifetimeFilter attached to this FilterStage
76      * @return a LifetimeFilter or null if no Filter is attached
77      */

78     MappingFilter getLifetimeFilter();
79
80     /**
81      * access the PriorityFilter attached to this FilterStage
82      * @return a PriorityFilter or null if no Filter is attached
83      */

84     MappingFilter getPriorityFilter();
85 }
86
Popular Tags