org.jacorb.notification.interfaces

Interface FilterStage

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
ListgetFilters()
get Filters associated to this FilterStage.
MappingFiltergetLifetimeFilter()
access the LifetimeFilter attached to this FilterStage
MessageConsumergetMessageConsumer()
get the associated MessageConsumer or null.
MappingFiltergetPriorityFilter()
access the PriorityFilter attached to this FilterStage
booleanhasInterFilterGroupOperatorOR()
check if this FilterStage has OR Semantic enabled.
booleanhasLifetimeFilter()
check if this FilterStage has a LifetimeFilter attached
booleanhasMessageConsumer()
check if this FilterStage has a MessageConsumer associcated.
booleanhasPriorityFilter()
check if this FilterStage has a PriorityFilter attached
booleanisDestroyed()
check if this FilterStage has been disposed.

Method Detail

getFilters

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

getLifetimeFilter

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

Returns: a LifetimeFilter or null if no Filter is attached

getMessageConsumer

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

getPriorityFilter

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

Returns: a PriorityFilter or null if no Filter is attached

hasInterFilterGroupOperatorOR

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

hasLifetimeFilter

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

hasMessageConsumer

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

hasPriorityFilter

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

isDestroyed

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