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.
Modifier and Type | Method and 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.
|
getActivity, getAddress, getCustomName, getEvent, getEventName, isActivityContextSelected, isAddressProfileSelected, isAddressSelected, isEventSelected, isEventTypeSelected, isInitialEvent, setActivityContextSelected, setAddress, setAddressProfileSelected, setAddressSelected, setCustomName, setEventSelected, setEventTypeSelected, setInitialEvent
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()
returns true
.
If isInitialEvent
returns false
, 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 to true
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.
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.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
.
true
if this event would create a new SBB entity, false
otherwise.