Interface RhinoInitialEventSelector
-
- All Superinterfaces:
InitialEventSelector
public interface RhinoInitialEventSelector extends InitialEventSelector
An extension of the JAIN SLEE-defined interface that provides access to Rhino-specific features.
All
InitialEventSelector
objects that Rhino provides SBBs will implement this extension interface, therefore a typecast to this interface will always succeed.- Since:
- Rhino 2.6.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
createsNewRootSbbEntity()
Determine if this event, if it is an initial event, is reported to create a new SBB entity rather than be delivered to an existing SBB entity.void
setCreatesNewRootSbbEntity(boolean createNewRootSbbEntity)
Set the flag indicating whether or not this initial event will cause the creation of a new SBB entity.-
Methods inherited from interface javax.slee.InitialEventSelector
getActivity, getAddress, getCustomName, getEvent, getEventName, isActivityContextSelected, isAddressProfileSelected, isAddressSelected, isEventSelected, isEventTypeSelected, isInitialEvent, setActivityContextSelected, setAddress, setAddressProfileSelected, setAddressSelected, setCustomName, setEventSelected, setEventTypeSelected, setInitialEvent
-
-
-
-
Method Detail
-
setCreatesNewRootSbbEntity
void setCreatesNewRootSbbEntity(boolean createNewRootSbbEntity)
Set the flag indicating whether or not this initial event will cause the creation of a new SBB entity. This flag only has any meaning if
InitialEventSelector.isInitialEvent()
returnstrue
. IfisInitialEvent
returnsfalse
, the value of this flag is ignored.If the event is an initial event and would create a new SBB entity, rather than be delivered to an existing SBB entity, the SBB object can set this flag to
true
to eliminate the SBB entity lookup by convergence name that normally occurs during initial event processing. If an SBB sets this flag totrue
and an SBB entity with the same convergence already exists, then a duplicate key error will occur when the event processing transaction attempts to commit and the transaction will roll back.- Parameters:
createNewRootSbbEntity
- flag indicating whether or not this event, if it is an initial event, will create a new SBB entity rather than be delivered to an existing SBB entity.- Since:
- Rhino 2.6.1
-
createsNewRootSbbEntity
boolean createsNewRootSbbEntity()
Determine if this event, if it is an initial event, is reported to create a new SBB entity rather than be delivered to an existing SBB entity. The default value for this flag is
false
.- Returns:
true
if this event would create a new SBB entity,false
otherwise.- Since:
- Rhino 2.6.1
-
-