org.obe.spi.service
Interface ApplicationEventBroker.ApplicationEventSubscription

All Superinterfaces:
ApplicationEventBroker.EventSubscription
Enclosing interface:
ApplicationEventBroker

public static interface ApplicationEventBroker.ApplicationEventSubscription
extends ApplicationEventBroker.EventSubscription

Describes a subscription to an application event.


Method Summary
 int getConditionType()
          Indicates the type of condition.
 java.lang.Object[] getEventKeys()
          Returns the application event keys with which the caller is subscribing.
 java.lang.String getPredicate()
          Returns the application event condition with which the caller is subscribing.
 
Methods inherited from interface org.obe.spi.service.ApplicationEventBroker.EventSubscription
cancel, decrementCount, getCorrelationKeys, getCount, getEffective, getEventType, getExpiry
 

Method Detail

getEventKeys

public java.lang.Object[] getEventKeys()
Returns the application event keys with which the caller is subscribing. These keys determine whether an instance of the specified application event type triggers this subscription.

Returns:
Event keys.

getPredicate

public java.lang.String getPredicate()
Returns the application event condition with which the caller is subscribing. This condition determines whether an instance of the specified application event type triggers this subscription.

Returns:
Event condition.

getConditionType

public int getConditionType()
Indicates the type of condition. Values are as per ConditionType.

Returns:
The condition type.


SourceForge.net Logo OBE-1.0 Copyright (c) 2002-2006 Adrian Price. All Rights Reserved.