org.jacorb.notification.interfaces
Interface FilterStage

All Superinterfaces:
FilterStageSource
All Known Implementing Classes:
AbstractAdmin, AbstractProxy

public interface FilterStage
extends FilterStageSource

Abstraction of a ProxyConsumer, SupplierAdmin, ConsumerAdmin, ProxySupplier. This Interface provides uniform access the methods which are relevant during processing of a Message.

Version:
$Id: FilterStage.java,v 1.10 2005/12/01 21:01:21 alphonse.bendt Exp $
Author:
Alphonse Bendt

Method Summary
 java.util.List getFilters()
          get Filters associated to this FilterStage.
 MappingFilter getLifetimeFilter()
          access the LifetimeFilter attached to this FilterStage
 MessageConsumer getMessageConsumer()
          get the associated MessageConsumer or null.
 MappingFilter getPriorityFilter()
          access the PriorityFilter attached to this FilterStage
 boolean hasInterFilterGroupOperatorOR()
          check if this FilterStage has OR Semantic enabled.
 boolean hasLifetimeFilter()
          check if this FilterStage has a LifetimeFilter attached
 boolean hasMessageConsumer()
          check if this FilterStage has a MessageConsumer associcated.
 boolean hasPriorityFilter()
          check if this FilterStage has a PriorityFilter attached
 boolean isDestroyed()
          check if this FilterStage has been disposed.
 
Methods inherited from interface org.jacorb.notification.interfaces.FilterStageSource
getSubsequentFilterStages
 

Method Detail

isDestroyed

public boolean isDestroyed()
check if this FilterStage has been disposed.


getFilters

public java.util.List getFilters()
get Filters associated to this FilterStage.


hasMessageConsumer

public boolean hasMessageConsumer()
check if this FilterStage has a MessageConsumer associcated.


hasInterFilterGroupOperatorOR

public boolean hasInterFilterGroupOperatorOR()
check if this FilterStage has OR Semantic enabled.


getMessageConsumer

public MessageConsumer getMessageConsumer()
get the associated MessageConsumer or null.


hasLifetimeFilter

public boolean hasLifetimeFilter()
check if this FilterStage has a LifetimeFilter attached


hasPriorityFilter

public boolean hasPriorityFilter()
check if this FilterStage has a PriorityFilter attached


getLifetimeFilter

public MappingFilter getLifetimeFilter()
access the LifetimeFilter attached to this FilterStage

Returns:
a LifetimeFilter or null if no Filter is attached

getPriorityFilter

public MappingFilter getPriorityFilter()
access the PriorityFilter attached to this FilterStage

Returns:
a PriorityFilter or null if no Filter is attached